Skip to content

Commit

Permalink
fix(install): remove deletes answers when dropping is_deleted
Browse files Browse the repository at this point in the history
fix #1513

Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Nov 20, 2019
1 parent 98ae57e commit 3ed1515
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install/upgrade_to_2.7.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public function upgrade(Migration $migration) {
$migration->backupTables([$table]);
$migration->renameTable('glpi_plugin_formcreator_forms_answers', $table);
$migration->migrationOneTable($table);
$DB->delete($table, ['is_deleted' => '1']);
$migration->dropField($table, 'is_deleted');
$table = 'glpi_plugin_formcreator_answers';
$migration->changeField(
Expand Down

0 comments on commit 3ed1515

Please sign in to comment.