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:
@@ -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`
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user