Skip to content

Commit

Permalink
fix(install): loss of condition on upgrade
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Dec 16, 2019
1 parent 4ec8a3b commit b9de3fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/upgrade_to_2.9.php
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ public function upgrade(Migration $migration) {
$migration->migrationOneTable($table);
$migration->addKey($table, ['plugin_formcreator_questions_id']);
$migration->addKey($table, ['itemtype', 'items_id'], 'item');
$migration->addPostQuery("UPDATE `$table` SET `itemtype` = 'plugin_formcreator_question' WHERE `itemtype` = ''");
$migration->addPostQuery("UPDATE `$table` SET `itemtype` = 'PluginFormcreatorQuestion' WHERE `itemtype` = ''");

// Remove show_condition enum for conditions
$this->enumToInt(
Expand Down

0 comments on commit b9de3fd

Please sign in to comment.