Skip to content

Commit 78d4eb3

Browse files
committed
fix(install): inconsistency between install and upgrade
1 parent 4b1ceff commit 78d4eb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/mysql/plugin_formcreator_empty.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
CREATE TABLE IF NOT EXISTS `glpi_plugin_formcreator_answers` (
55
`id` int(11) NOT NULL AUTO_INCREMENT,
6-
`plugin_formcreator_formanswers_id` int(11) NOT NULL,
7-
`plugin_formcreator_questions_id` int(11) NOT NULL,
6+
`plugin_formcreator_formanswers_id` int(11) NOT NULL DEFAULT '0',
7+
`plugin_formcreator_questions_id` int(11) NOT NULL DEFAULT '0',
88
`answer` text,
99
PRIMARY KEY (`id`),
1010
INDEX `plugin_formcreator_formanswers_id` (`plugin_formcreator_formanswers_id`),

0 commit comments

Comments
 (0)