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

Database requirements for remote sample var feature

This commit is contained in:
Adam Zammit
2017-05-24 12:57:46 +10:00
parent b2ef33e98a
commit f9539f84ce

View File

@@ -796,6 +796,21 @@ CREATE TABLE `remote` (
-- --------------------------------------------------------
--
-- Table structure for table `remote_sample_var`
--
CREATE TABLE `remote_sample_var` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`var_id` bigint(20) NOT NULL,
`questionnaire_id` bigint(20) NOT NULL,
`field` text COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `var_id` (`var_id`,`questionnaire_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `respondent`
--