-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchromeurllog.sql
41 lines (35 loc) · 1.49 KB
/
chromeurllog.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
CREATE TABLE `chromeurllog` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
`url` varchar(500) NOT NULL COMMENT 'url',
`time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'time ',
`ip` varchar(15) NOT NULL COMMENT 'ip',
`querystring` varchar(500) NOT NULL COMMENT 'all query string',
`isok` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1 is ok ,0 has problem',
`title` varchar(500) DEFAULT NULL COMMENT 'html title fetched by php',
`useragent` varchar(500) DEFAULT NULL COMMENT 'useragent',
PRIMARY KEY (`id`),
KEY `url` (`url`(255))
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `uuidlist` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id only',
`uuid` varchar(20) NOT NULL COMMENT 'uuid name ',
`comment` varchar(1000) NOT NULL COMMENT 'comment of current uuid',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `errorlog` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`info` varchar(1000) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
CREATE TABLE IF NOT EXISTS `excludedomain` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`domain` varchar(200) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `domain` (`domain`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
CREATE TABLE IF NOT EXISTS `excludeurl` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`url` varchar(200) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `url` (`url`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=14 ;