mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Updated database structure
This commit is contained in:
@@ -52,6 +52,8 @@ WHERE 1;
|
|||||||
/* Remove redundant table */
|
/* Remove redundant table */
|
||||||
DROP TABLE `sessions2`;
|
DROP TABLE `sessions2`;
|
||||||
|
|
||||||
|
/* Add sort order feature to questionnaire sample table */
|
||||||
|
ALTER TABLE `questionnaire_sample` ADD `sort_order` INT( 11 ) NOT NULL DEFAULT '0';
|
||||||
|
|
||||||
queXS 1.13.1 - Changes since 1.13.0
|
queXS 1.13.1 - Changes since 1.13.0
|
||||||
|
|
||||||
|
|||||||
@@ -1263,6 +1263,7 @@ CREATE TABLE `questionnaire_sample` (
|
|||||||
`random_select` tinyint(1) NOT NULL DEFAULT '0',
|
`random_select` tinyint(1) NOT NULL DEFAULT '0',
|
||||||
`answering_machine_messages` int(11) NOT NULL DEFAULT '1',
|
`answering_machine_messages` int(11) NOT NULL DEFAULT '1',
|
||||||
`allow_new` tinyint(1) NOT NULL DEFAULT '1',
|
`allow_new` tinyint(1) NOT NULL DEFAULT '1',
|
||||||
|
`sort_order` int(11) NOT NULL DEFAULT '0',
|
||||||
PRIMARY KEY (`questionnaire_id`,`sample_import_id`)
|
PRIMARY KEY (`questionnaire_id`,`sample_import_id`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user