-
Notifications
You must be signed in to change notification settings - Fork 9
/
createDatabases.sql
41 lines (39 loc) · 1.41 KB
/
createDatabases.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
CREATE TABLE `perf` (
`ID` int(255) NOT NULL AUTO_INCREMENT,
`backend` decimal(10,2) NOT NULL,
`frontend` decimal(10,2) NOT NULL,
`total` decimal(10,2) NOT NULL,
`url` varchar(800) NOT NULL,
`ipAddress` varchar(100) NOT NULL,
`country` varchar(200) NOT NULL,
`state` varchar(200) NOT NULL,
`city` varchar(200) NOT NULL,
`datetime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
CREATE TABLE `webpagetest` (
`ID` int(255) NOT NULL AUTO_INCREMENT,
`url` varchar(800) NOT NULL,
`datetime` datetime NOT NULL,
`jsonUrl` varchar(800) NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
CREATE TABLE `webpagetest_results` (
`ID` int(255) NOT NULL AUTO_INCREMENT,
`ipAddress` varchar(100) NOT NULL,
`country` varchar(200) NOT NULL,
`state` varchar(200) NOT NULL,
`city` varchar(200) NOT NULL,
`firstByte` varchar(20) NOT NULL,
`startRender` varchar(20) NOT NULL,
`speedIndex` varchar(20) NOT NULL,
`loadTime` varchar(20) NOT NULL,
`visuallyComplete` varchar(20) NOT NULL,
`domElements` varchar(20) NOT NULL,
`totalSize` varchar(20) NOT NULL,
`link` varchar(500) NOT NULL,
`json` varchar(500) NOT NULL,
`datetime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`url` varchar(800) NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;