forked from ppss1806/ss-panel-v3-mod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
glzjin_3.sql
executable file
·109 lines (83 loc) · 2.69 KB
/
glzjin_3.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
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
ALTER TABLE `ss_node` ADD `node_ip` TEXT NULL AFTER `node_ping`;
ALTER TABLE `ss_node` ADD `bandwidthlimit_resetday` INT NOT NULL DEFAULT '0' AFTER `node_bandwidth_limit`;
ALTER TABLE `user` ADD `class` INT NOT NULL AFTER `sendDailyMail`, ADD `class_expire` DATETIME NOT NULL AFTER `class`;
ALTER TABLE `user` CHANGE `class` `class` INT(11) NOT NULL DEFAULT '0', CHANGE `class_expire` `class_expire` DATETIME NOT NULL DEFAULT '1989-06-04 00:05:00';
-- phpMyAdmin SQL Dump
-- version 4.4.7
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: 2016-03-26 17:41:17
-- 服务器版本: 5.5.42
-- PHP Version: 5.6.19
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: `glzjin_ss2`
--
-- --------------------------------------------------------
--
-- 表的结构 `radius_ban`
--
CREATE TABLE IF NOT EXISTS `radius_ban` (
`id` int(11) NOT NULL,
`userid` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `radius_ban`
--
ALTER TABLE `radius_ban`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `radius_ban`
--
ALTER TABLE `radius_ban`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
/*!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 */;
ALTER TABLE `user` ADD `expire_in` DATETIME NOT NULL DEFAULT '2099:06:04 00:05:00' AFTER `class_expire`;
UPDATE `user` SET `expire_in` = '2099-06-04 00:05:00' ;
UPDATE `user` SET `class_expire` = '1989-06-04 02:00:00' ;
-- --------------------------------------------------------
--
-- 表的结构 `code`
--
CREATE TABLE IF NOT EXISTS `code` (
`id` bigint(20) NOT NULL,
`code` text NOT NULL,
`type` int(11) NOT NULL,
`number` int(11) NOT NULL,
`isused` int(11) NOT NULL DEFAULT '0',
`userid` bigint(20) NOT NULL,
`usedatetime` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `code`
--
ALTER TABLE `code`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `code`
--
ALTER TABLE `code`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
/*!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 */;