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

Updated database schema

Updated changelog to 1.8.0
This commit is contained in:
Adam Zammit
2013-07-04 15:14:28 +10:00
parent 5647dd4daf
commit c23097eceb
2 changed files with 24 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
queXS 1.8.0 - Changes since 1.7.6
New Feature: Allow for restricting the view of sample variables to operators
New Feature: Case status and assignment page allowing to view the current status of cases by questionnaire, and allow for the manual assigning to operators if required
Database updates:
CREATE TABLE IF NOT EXISTS `case_queue` (
`case_queue_id` bigint(20) NOT NULL AUTO_INCREMENT,
`case_id` bigint(20) NOT NULL,

View File

@@ -294,9 +294,18 @@ CREATE TABLE `case_note` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `case_note`
-- Table structure for table `case_queue`
--
CREATE TABLE `case_queue` (
`case_queue_id` bigint(20) NOT NULL auto_increment,
`case_id` bigint(20) NOT NULL,
`operator_id` bigint(20) NOT NULL,
`sortorder` int(11) NOT NULL,
PRIMARY KEY (`case_queue_id`),
UNIQUE KEY `case_id` (`case_id`),
KEY `operator_id` (`operator_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -1605,9 +1614,15 @@ CREATE TABLE `sample_import` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `sample_import`
-- Table structure for table `sample_import_var_restrict`
--
CREATE TABLE `sample_import_var_restrict` (
`sample_import_id` bigint(20) NOT NULL,
`var` char(128) collate utf8_unicode_ci NOT NULL,
`restrict` tinyint(1) NOT NULL default '0',
PRIMARY KEY (`sample_import_id`,`var`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------