-
Notifications
You must be signed in to change notification settings - Fork 190
/
wyproxy.sql
50 lines (42 loc) · 1.3 KB
/
wyproxy.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
/*
Navicat Premium Data Transfer
Source Server : localhost
Source Server Type : MySQL
Source Server Version : 50621
Source Host : localhost
Source Database : wyproxy
Target Server Type : MySQL
Target Server Version : 50621
File Encoding : utf-8
Date: 09/13/2016 12:22:26 PM
*/
CREATE DATABASE IF NOT EXISTS `wyproxy` DEFAULT CHARSET utf8mb4 COLLATE utf8mb4_general_ci;
USE `wyproxy`;
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for `capture`
-- ----------------------------
DROP TABLE IF EXISTS `capture`;
CREATE TABLE `capture` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`static_resource` tinyint(1) DEFAULT NULL,
`method` char(10) DEFAULT NULL,
`status_code` int(6) DEFAULT NULL,
`content_type` varchar(50) DEFAULT NULL,
`content_length` int(11) DEFAULT NULL,
`host` varchar(255) DEFAULT NULL,
`url` text,
`scheme` char(10) DEFAULT NULL,
`path` text,
`header` mediumtext,
`content` mediumblob,
`request_header` mediumtext,
`request_content` mediumblob,
`date_start` datetime DEFAULT NULL,
`date_end` datetime DEFAULT NULL,
`extension` char(32) DEFAULT NULL,
`port` char(6) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
SET FOREIGN_KEY_CHECKS = 1;