mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Changed method of quota row calculation to be by listing in database
This commit is contained in:
@@ -540,6 +540,23 @@ CREATE TABLE IF NOT EXISTS `questionnaire_sample_quota_row` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
||||
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `questionnaire_sample_quota_row_exclude`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `questionnaire_sample_quota_row_exclude` (
|
||||
`questionnaire_sample_quota_row_id` bigint(20) NOT NULL,
|
||||
`questionnaire_id` bigint(20) NOT NULL,
|
||||
`sample_id` bigint(20) NOT NULL,
|
||||
PRIMARY KEY (`questionnaire_sample_quota_row_id`,`questionnaire_id`,`sample_id`),
|
||||
KEY `questionnaire_id` (`questionnaire_id`),
|
||||
KEY `sample_id` (`sample_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
||||
|
||||
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user