forked from DavidMacDonald/Test-Site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
db_structure.sql
56 lines (46 loc) · 1.69 KB
/
db_structure.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
--
-- Database: `open_a11y_testing`
--
-- --------------------------------------------------------
--
-- Table structure for table `results`
--
CREATE TABLE `results` (
`resultID` mediumint(7) NOT NULL AUTO_INCREMENT,
`userKey` varchar(255) NOT NULL,
`dateAdded` datetime NOT NULL,
`testFileID` varchar(255) NOT NULL,
`result` enum('Pass','Fail') NOT NULL,
`comments` mediumtext NOT NULL,
`deleted` enum('0','1') NOT NULL DEFAULT '0',
PRIMARY KEY (`resultID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='This table holds the specific results of testing ' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `testFiles`
--
CREATE TABLE `testFiles` (
`testFileID` varchar(255) NOT NULL,
`testFilePath` varchar(255) NOT NULL,
`deleted` enum('0','1') NOT NULL DEFAULT '0',
PRIMARY KEY (`testFileID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='This table holds the details of the files to be tested. ';
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`userKey` varchar(255) NOT NULL,
`dateAdded` datetime NOT NULL,
`dateLastAccess` datetime NOT NULL,
`browserBrand` varchar(255) NOT NULL,
`browserVersion` varchar(255) NOT NULL,
`operatingSystem` varchar(255) NOT NULL,
`osVersion` varchar(255) NOT NULL,
`uaString` varchar(255) NOT NULL,
`atType` varchar(255) NOT NULL,
`atBrand` varchar(255) NOT NULL,
`atVersion` varchar(255) NOT NULL,
`deleted` enum('0','1') NOT NULL DEFAULT '0',
PRIMARY KEY (`userKey`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='This table holds the users of the system and their platform information. ';