Skip to content

Commit 68cac4e

Browse files
authored
Fix user/OS dropdown type migration
1 parent 2064d8a commit 68cac4e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

inc/field.class.php

+4-3
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,15 @@ public static function install(Migration $migration, $version)
108108
$DB->buildUpdate(
109109
PluginFieldsField::getTable(),
110110
['type' => 'dropdown-User'],
111-
['type' => 'dropdownusers']
111+
['type' => 'dropdownuser']
112112
)
113113
);
114+
114115
$migration->addPostQuery(
115116
$DB->buildUpdate(
116117
PluginFieldsField::getTable(),
117-
['type' => 'dropdown-User'],
118-
['type' => 'dropdownusers']
118+
['type' => 'dropdown-OperatingSystem'],
119+
['type' => 'dropdownoperatingsystems']
119120
)
120121
);
121122

0 commit comments

Comments
 (0)