-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathsql.sql
More file actions
125 lines (100 loc) · 3.45 KB
/
sql.sql
File metadata and controls
125 lines (100 loc) · 3.45 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
-- phpMyAdmin SQL Dump
-- version 4.1.14
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: 2015-09-06 13:31:10
-- 服务器版本: 5.6.17
-- PHP Version: 5.5.12
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `404`
--
-- --------------------------------------------------------
--
-- 表的结构 `ad`
--
CREATE TABLE IF NOT EXISTS `ad` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user` varchar(20) NOT NULL,
`pass` varchar(32) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
--
-- 转存表中的数据 `ad`
--
INSERT INTO `ad` (`id`, `user`, `pass`) VALUES
(2, 'demo', 'a7e54235c76dcc0d3bb326480ab00794');
-- --------------------------------------------------------
--
-- 表的结构 `gift`
--
CREATE TABLE IF NOT EXISTS `gift` (
`Id` int(11) NOT NULL AUTO_INCREMENT,
`number` varchar(10) NOT NULL,
`usetime` datetime DEFAULT NULL,
`month` int(11) NOT NULL DEFAULT '1',
`status` int(11) NOT NULL DEFAULT '1',
PRIMARY KEY (`Id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=49 ;
--
-- 转存表中的数据 `gift`
--
INSERT INTO `gift` (`Id`, `number`, `usetime`, `month`, `status`) VALUES
(35, '123456', '2015-08-30 03:42:02', 1, 1);
-- --------------------------------------------------------
--
-- 表的结构 `node`
--
CREATE TABLE IF NOT EXISTS `node` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(300) NOT NULL,
`url` varchar(300) NOT NULL,
`status` int(11) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;
--
-- 转存表中的数据 `node`
--
INSERT INTO `node` (`id`, `name`, `url`, `status`) VALUES
(1, 'demoxxxooo', '404notfound.cc', 1),
(2, '111', 'baidu.com', 1);
-- --------------------------------------------------------
--
-- 表的结构 `user`
--
CREATE TABLE IF NOT EXISTS `user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`email` varchar(32) NOT NULL,
`pass` varchar(32) NOT NULL,
`passwd` varchar(16) NOT NULL,
`t` int(11) NOT NULL DEFAULT '0',
`u` bigint(20) NOT NULL,
`d` bigint(20) NOT NULL,
`transfer_enable` bigint(20) NOT NULL,
`port` int(11) NOT NULL,
`switch` tinyint(4) NOT NULL DEFAULT '1',
`enable` tinyint(4) NOT NULL DEFAULT '1',
`type` tinyint(4) NOT NULL DEFAULT '1',
`last_get_gitf_time` int(11) NOT NULL DEFAULT '0',
`last_rest_pass_time` datetime DEFAULT NULL,
`endtime` date NOT NULL,
`signtime` datetime NOT NULL,
`level` int(11) NOT NULL DEFAULT '1',
`ea` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`,`port`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=52 ;
--
-- 转存表中的数据 `user`
--
INSERT INTO `user` (`id`, `email`, `pass`, `passwd`, `t`, `u`, `d`, `transfer_enable`, `port`, `switch`, `enable`, `type`, `last_get_gitf_time`, `last_rest_pass_time`, `endtime`, `signtime`, `level`, `ea`) VALUES
(43, 'demo@demo.com', 'a7e54235c76dcc0d3bb326480ab00794', '292315', 0, 0, 0, 1175821746176, 51173, 1, 1, 7, 0, NULL, '2015-09-01', '2015-04-13 09:45:07', 4, 1);
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;