Skip to content

Commit

Permalink
fix(install): drop migration of target problem: the table is not crea…
Browse files Browse the repository at this point in the history
…ted yet
  • Loading branch information
btry committed Feb 14, 2022
1 parent 395a0b8 commit fc0dffc
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions install/upgrade_to_2.13.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit fc0dffc

Please sign in to comment.