From fc0dffc38b424281be9eb491faf8d0f28b807ab4 Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Thu, 3 Feb 2022 14:50:48 +0100 Subject: [PATCH] fix(install): drop migration of target problem: the table is not created yet --- install/upgrade_to_2.13.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/install/upgrade_to_2.13.php b/install/upgrade_to_2.13.php index 8d55a6bc1..52d6c2c74 100644 --- a/install/upgrade_to_2.13.php +++ b/install/upgrade_to_2.13.php @@ -149,9 +149,6 @@ protected function migrateFkToUnsignedInt() { $DB->queryOrDie("UPDATE `$table` SET `due_date_question` = 0 WHERE `due_date_question` IS NULL"); $DB->queryOrDie("UPDATE `$table` SET `destination_entity_value` = 0 WHERE `destination_entity_value` IS NULL"); - $table = 'glpi_plugin_formcreator_targetproblems'; - $DB->queryOrDie("UPDATE `$table` SET `destination_entity_value` = 0 WHERE `destination_entity_value` IS NULL"); - $table = 'glpi_plugin_formcreator_targets_actors'; $DB->queryOrDie("UPDATE `$table` SET `actor_value` = 0 WHERE `actor_value` IS NULL"); @@ -234,14 +231,6 @@ protected function migrateFkToUnsignedInt() { 'ola_question_tto', 'ola_question_ttr', ], - 'glpi_plugin_formcreator_targetproblems' => [ - 'id', - 'plugin_formcreator_forms_id', - 'problemtemplates_id', - 'urgency_question', - 'destination_entity_value', - 'category_question', - ], 'glpi_plugin_formcreator_targets_actors' => [ 'id', 'items_id',