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

Add questionnaire_timeslot table

Alter case sorting/selecting SQL to consider timeslots if set.
If set, only select a case if a current timeslot exists and the number of calls in the slot is less than the maximum number of calls made in any other slot
This commit is contained in:
Adam Zammit
2014-12-16 15:00:48 +11:00
parent 3f4710e477
commit 80d7f4029e
4 changed files with 15 additions and 5 deletions

View File

@@ -3,6 +3,13 @@ queXS 1.11.0 - Changes since 1.10.4
ALTER TABLE `questionnaire_sample` ADD `allow_new` TINYINT( 1 ) NOT NULL DEFAULT '1';
CREATE TABLE `questionnaire_timeslot` (
`questionnaire_id` bigint( 20 ) NOT NULL ,
`availability_group_id` bigint( 20 ) NOT NULL ,
PRIMARY KEY ( `questionnaire_id` , `availability_group_id` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci;
queXS 1.10.4 - Changes since 1.10.3