Skip to content

Commit fc0dffc

Browse files
committed
fix(install): drop migration of target problem: the table is not created yet
1 parent 395a0b8 commit fc0dffc

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

install/upgrade_to_2.13.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,6 @@ protected function migrateFkToUnsignedInt() {
149149
$DB->queryOrDie("UPDATE `$table` SET `due_date_question` = 0 WHERE `due_date_question` IS NULL");
150150
$DB->queryOrDie("UPDATE `$table` SET `destination_entity_value` = 0 WHERE `destination_entity_value` IS NULL");
151151

152-
$table = 'glpi_plugin_formcreator_targetproblems';
153-
$DB->queryOrDie("UPDATE `$table` SET `destination_entity_value` = 0 WHERE `destination_entity_value` IS NULL");
154-
155152
$table = 'glpi_plugin_formcreator_targets_actors';
156153
$DB->queryOrDie("UPDATE `$table` SET `actor_value` = 0 WHERE `actor_value` IS NULL");
157154

@@ -234,14 +231,6 @@ protected function migrateFkToUnsignedInt() {
234231
'ola_question_tto',
235232
'ola_question_ttr',
236233
],
237-
'glpi_plugin_formcreator_targetproblems' => [
238-
'id',
239-
'plugin_formcreator_forms_id',
240-
'problemtemplates_id',
241-
'urgency_question',
242-
'destination_entity_value',
243-
'category_question',
244-
],
245234
'glpi_plugin_formcreator_targets_actors' => [
246235
'id',
247236
'items_id',

0 commit comments

Comments
 (0)