Skip to content

Commit 09c0101

Browse files
committed
fix(install): update relation
when upgrading to 2.7.0 the plugin needs to update relation between form answers and changes Signed-off-by: Thierry Bugier <tbugier@teclib.com>
1 parent 50fa811 commit 09c0101

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

install/upgrade_to_2.7.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ public function upgrade(Migration $migration) {
5252
'itemtype' => 'PluginFormcreatorForm_Answer'
5353
]
5454
);
55+
$DB->update(
56+
'glpi_changes_items', [
57+
'itemtype' => 'PluginFormcreatorFormAnswer',
58+
], [
59+
'itemtype' => 'PluginFormcreatorForm_Answer'
60+
]
61+
);
5562
$DB->update(
5663
'glpi_notifications', [
5764
'itemtype' => 'PluginFormcreatorFormAnswer',

0 commit comments

Comments
 (0)