1
- -- Copyright 2019-2029 geekidea(https://github.com/geekidea)
2
- --
3
- -- Licensed under the Apache License, Version 2.0 (the "License");
4
- -- you may not use this file except in compliance with the License.
5
- -- You may obtain a copy of the License at
6
- --
7
- -- http://www.apache.org/licenses/LICENSE-2.0
8
- --
9
- -- Unless required by applicable law or agreed to in writing, software
10
- -- distributed under the License is distributed on an "AS IS" BASIS,
11
- -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- -- See the License for the specific language governing permissions and
13
- -- limitations under the License.
1
+ /*
2
+ Navicat Premium Data Transfer
3
+
4
+ Source Server : mysql-localhost
5
+ Source Server Type : MySQL
6
+ Source Server Version : 50727
7
+ Source Host : localhost:3306
8
+ Source Schema : spring_boot_plus
9
+
10
+ Target Server Type : MySQL
11
+ Target Server Version : 50727
12
+ File Encoding : 65001
13
+
14
+ Date: 24/07/2019 16:25:18
15
+ */
16
+
17
+ SET NAMES utf8mb4;
18
+ SET FOREIGN_KEY_CHECKS = 0 ;
19
+
20
+ -- ----------------------------
21
+ -- Table structure for ip
22
+ -- ----------------------------
23
+ DROP TABLE IF EXISTS ` ip` ;
24
+ CREATE TABLE `ip ` (
25
+ ` ip_start` varchar (15 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL ,
26
+ ` ip_end` varchar (15 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL ,
27
+ ` area` varchar (100 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL ,
28
+ ` operator` varchar (200 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL ,
29
+ ` id` bigint (20 ) NOT NULL AUTO_INCREMENT,
30
+ ` ip_start_num` bigint (20 ) NOT NULL ,
31
+ ` ip_end_num` bigint (20 ) NOT NULL ,
32
+ PRIMARY KEY (` id` ) USING BTREE
33
+ ) ENGINE = InnoDB AUTO_INCREMENT = 526718 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
14
34
15
35
-- ----------------------------
16
36
-- Table structure for sys_log
@@ -21,7 +41,7 @@ CREATE TABLE `sys_log` (
21
41
` type` tinyint (1 ) NULL DEFAULT NULL COMMENT ' 类型' ,
22
42
` content` varchar (255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ' 内容' ,
23
43
` create_id` bigint (18 ) NULL DEFAULT NULL COMMENT ' 创建人ID' ,
24
- ` create_time` datetime(0 ) NULL DEFAULT CURRENT_TIMESTAMP ( 0 ) COMMENT ' 创建时间' ,
44
+ ` create_time` datetime(0 ) NULL DEFAULT CURRENT_TIMESTAMP COMMENT ' 创建时间' ,
25
45
PRIMARY KEY (` log_id` ) USING BTREE
26
46
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = ' 系统日志' ROW_FORMAT = Dynamic;
27
47
@@ -38,3 +58,5 @@ INSERT INTO `sys_log` VALUES (1060439062743166977, 0, '1111111111', 100000, '201
38
58
INSERT INTO ` sys_log` VALUES (1060439085228830721 , 1 , ' test redis lock ffbb79f6-9efe-4608-b204-fde5279b107f' , 100000 , ' 2018-11-16 16:46:35' );
39
59
INSERT INTO ` sys_log` VALUES (1068528405778444290 , NULL , NULL , NULL , ' 2018-11-30 23:33:21' );
40
60
INSERT INTO ` sys_log` VALUES (1068528405778444291 , NULL , NULL , NULL , ' 2018-11-30 23:33:21' );
61
+
62
+ SET FOREIGN_KEY_CHECKS = 1 ;
0 commit comments