2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Fixed issue: Extension column not wide enough for long extensions

This commit is contained in:
Adam Zammit
2018-03-16 15:19:06 +11:00
parent 83bd6e6e8c
commit 072eea9da5
2 changed files with 10 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
queXS 2.2.0 - Changes since 2.1.5
ALTER TABLE `extension` CHANGE `extension` `extension` CHAR( 20 ) NOT NULL;
ALTER TABLE `sample_var` ADD INDEX ( `var_id` );
queXS 2.1.5 - Changes since 2.1.4
Fixes some bugs including optimising the questionnaire outcome page queries. Translations have also been updated (Thank you!)

View File

@@ -355,7 +355,7 @@ INSERT INTO `day_of_week` (`day_of_week`) VALUES(7);
CREATE TABLE `extension` (
`extension_id` int(11) NOT NULL AUTO_INCREMENT,
`extension` char(10) COLLATE utf8_unicode_ci NOT NULL,
`extension` char(20) COLLATE utf8_unicode_ci NOT NULL,
`password` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`status` tinyint(1) NOT NULL DEFAULT '0',
`current_operator_id` bigint(20) DEFAULT NULL,
@@ -934,7 +934,8 @@ CREATE TABLE `sample_var` (
`var_id` bigint(20) unsigned NOT NULL,
`val` varchar(256) COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`sample_id`,`var_id`),
KEY `sample_id` (`sample_id`)
KEY `sample_id` (`sample_id`),
KEY `var_id` (`var_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------