|
26 | 26 | -- ------------------------------------------------------------------------- |
27 | 27 | -- |
28 | 28 |
|
| 29 | +DROP TABLE IF EXISTS `glpi_plugin_formcreator_formanswers`; |
| 30 | +CREATE TABLE IF NOT EXISTS `glpi_plugin_formcreator_formanswers` ( |
| 31 | + `id` int unsigned NOT NULL AUTO_INCREMENT, |
| 32 | + `name` varchar(255) NOT NULL DEFAULT '', |
| 33 | + `entities_id` int unsigned NOT NULL DEFAULT '0', |
| 34 | + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', |
| 35 | + `plugin_formcreator_forms_id` int unsigned NOT NULL DEFAULT '0', |
| 36 | + `requester_id` int unsigned NOT NULL DEFAULT '0', |
| 37 | + `users_id_validator` int unsigned NOT NULL DEFAULT '0' COMMENT 'User in charge of validation', |
| 38 | + `groups_id_validator` int unsigned NOT NULL DEFAULT '0' COMMENT 'Group in charge of validation', |
| 39 | + `request_date` timestamp NULL, |
| 40 | + `status` int(11) NOT NULL DEFAULT '101', |
| 41 | + `comment` mediumtext, |
| 42 | + PRIMARY KEY (`id`), |
| 43 | + INDEX `plugin_formcreator_forms_id` (`plugin_formcreator_forms_id`), |
| 44 | + INDEX `entities_id_is_recursive` (`entities_id`, `is_recursive`), |
| 45 | + INDEX `requester_id` (`requester_id`), |
| 46 | + INDEX `users_id_validator` (`users_id_validator`), |
| 47 | + INDEX `groups_id_validator` (`groups_id_validator`) |
| 48 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; |
| 49 | + |
29 | 50 | DROP TABLE IF EXISTS `glpi_plugin_formcreator_categories`; |
30 | 51 | CREATE TABLE `glpi_plugin_formcreator_categories` ( |
31 | 52 | `id` int unsigned NOT NULL AUTO_INCREMENT, |
|
0 commit comments