Skip to content

Commit d50c7f6

Browse files
committed
fix(install): possible upgrade issue
with installs older then 2.5 glpi_plugin_formcreator_forms_answers may exist when upgratinf to 2.7 Signed-off-by: Thierry Bugier <[email protected]>
1 parent a318af7 commit d50c7f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

install/upgrade_to_2.7.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ public function upgrade(Migration $migration) {
104104
);
105105
}
106106
$table = 'glpi_plugin_formcreator_formanswers';
107+
$migration->backupTables([$table]);
107108
$migration->renameTable('glpi_plugin_formcreator_forms_answers', $table);
108109
$migration->migrationOneTable($table);
109110
$migration->dropField($table, 'is_deleted');

0 commit comments

Comments
 (0)