Skip to content

Commit cd4007b

Browse files
committed
fix(install): bad associate rule default on upgrade
1 parent d652634 commit cd4007b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/upgrade_to_2.9.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ public function upgrade(Migration $migration) {
293293

294294
// add item association rule
295295
$table = 'glpi_plugin_formcreator_targettickets';
296-
$migration->addField($table, 'associate_rule', 'integer', ['after' => 'category_question']);
296+
$migration->addField($table, 'associate_rule', 'integer', ['after' => 'category_question', 'value' => '1']);
297297
$migration->addField($table, 'associate_question', 'integer', ['after' => 'associate_rule']);
298298
$migration->addField($table, 'type', 'integer', ['after' => 'target_name', 'value' => '1']);
299299

0 commit comments

Comments
 (0)