forked from I-TECH/KenyaLIS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdb_update_v2-3.sql
23 lines (20 loc) · 965 Bytes
/
db_update_v2-3.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
CREATE TABLE `lab_config_settings` (
`id` int(11) NOT NULL,
`flag1` int(11) default NULL,
`flag2` int(11) default NULL,
`flag3` int(11) default NULL,
`flag4` int(11) default NULL,
`setting1` varchar(200) collate latin1_general_ci default NULL,
`setting2` varchar(200) collate latin1_general_ci default NULL,
`setting3` varchar(200) collate latin1_general_ci default NULL,
`setting4` varchar(200) collate latin1_general_ci default NULL,
`misc` varchar(500) collate latin1_general_ci default NULL,
`remarks` varchar(500) collate latin1_general_ci default NULL,
`ts` timestamp NULL default CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
CREATE TABLE `test_type_costs` (
`earliest_date_valid` timestamp NOT NULL,
`test_type_id` int(11) NOT NULL,
`amount` decimal(10, 2) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;