Skip to content

Commit

Permalink
Update row order on directus_users
Browse files Browse the repository at this point in the history
  • Loading branch information
rijkvanzanten committed Oct 19, 2018
1 parent adc359c commit 4f3cf10
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions migrations/db/seeds/FieldsSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,17 @@ public function run()
'interface' => 'password',
'locked' => 1,
'required' => 1,
'sort' => 7
'sort' => 7,
'width' => 2
],
[
'collection' => 'directus_users',
'field' => 'roles',
'type' => \Directus\Database\Schema\DataTypes::TYPE_O2M,
'interface' => 'user-roles',
'locked' => 1,
'sort' => 8,
'width' => 2
],
[
'collection' => 'directus_users',
Expand All @@ -1078,7 +1088,7 @@ public function run()
'options' => json_encode([
'placeholder' => 'Enter your company or organization name...'
]),
'sort' => 8,
'sort' => 9,
'width' => 2
],
[
Expand All @@ -1089,7 +1099,7 @@ public function run()
'options' => json_encode([
'placeholder' => 'Enter your title or role...'
]),
'sort' => 9,
'sort' => 10,
'width' => 2
],
[
Expand All @@ -1111,7 +1121,7 @@ public function run()
'placeholder' => 'Choose a timezone...'
]),
'locked' => 1,
'sort' => 10,
'sort' => 11,
'width' => 2
],
[
Expand All @@ -1128,7 +1138,7 @@ public function run()
'placeholder' => 'Choose a language...'
]),
'locked' => 1,
'sort' => 11,
'sort' => 12,
'width' => 2
],
[
Expand All @@ -1139,7 +1149,7 @@ public function run()
'locked' => 1,
'hidden_browse' => 1,
'hidden_detail' => 1,
'sort' => 12
'sort' => 13
],
[
'collection' => 'directus_users',
Expand All @@ -1149,7 +1159,7 @@ public function run()
'locked' => 1,
'hidden_detail' => 1,
'hidden_browse' => 1,
'sort' => 13
'sort' => 14
],
[
'collection' => 'directus_users',
Expand All @@ -1158,7 +1168,7 @@ public function run()
'interface' => 'datetime',
'locked' => 1,
'readonly' => 1,
'sort' => 14,
'sort' => 15,
'width' => 2
],
[
Expand All @@ -1169,7 +1179,7 @@ public function run()
'locked' => 1,
'readonly' => 1,
'hidden_detail' => 1,
'sort' => 15,
'sort' => 16,
'width' => 2
],
[
Expand All @@ -1181,7 +1191,7 @@ public function run()
'readonly' => 1,
'hidden_detail' => 1,
'hidden_browse' => 1,
'sort' => 16,
'sort' => 17,
'width' => 2
],
[
Expand All @@ -1190,7 +1200,7 @@ public function run()
'type' => \Directus\Database\Schema\DataTypes::TYPE_FILE,
'interface' => 'file',
'locked' => 1,
'sort' => 17
'sort' => 18
],
[
'collection' => 'directus_users',
Expand Down Expand Up @@ -1219,13 +1229,6 @@ public function run()
'readonly' => 1,
'hidden_detail' => 1
],
[
'collection' => 'directus_users',
'field' => 'roles',
'type' => \Directus\Database\Schema\DataTypes::TYPE_O2M,
'interface' => 'user-roles',
'locked' => 1
],
[
'collection' => 'directus_users',
'field' => 'external_id',
Expand Down

0 comments on commit 4f3cf10

Please sign in to comment.