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

Fixed issue: Questionnaire outcomes page slow with many shifts

This commit is contained in:
Adam Zammit
2017-11-23 12:22:28 +11:00
parent 6012a27a03
commit 3e5ecc5415
3 changed files with 18 additions and 1 deletions

View File

@@ -997,7 +997,9 @@ CREATE TABLE `shift` (
`start` datetime NOT NULL,
`end` datetime NOT NULL,
PRIMARY KEY (`shift_id`),
KEY `questionnaire_id` (`questionnaire_id`)
KEY `questionnaire_id` (`questionnaire_id`),
KEY `start` (`start`),
KEY `end` (`end`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------