Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
JAVA小学生-王铁柱
eladmin
提交
2371fab0
E
eladmin
项目概览
JAVA小学生-王铁柱
/
eladmin
与 Fork 源项目一致
从无法访问的项目Fork
通知
4
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
E
eladmin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
2371fab0
编写于
8月 27, 2019
作者:
D
dqjdda
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新sql文件
上级
d6888471
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
423 addition
and
418 deletion
+423
-418
sql/eladmin.sql
sql/eladmin.sql
+423
-418
未找到文件。
sql/eladmin.sql
浏览文件 @
2371fab0
/*
Navicat MySQL
Data Transfer
Navicat Premium
Data Transfer
Source Server : localhost
Source Server Version : 50562
Source Host : localhost:3306
Source Database : eladmin
Source Server : 本地
Source Server Type : MySQL
Source Server Version : 50562
Source Host : localhost:3306
Source Schema : eladmin
Target Server Type : MY
SQL
Target Server Version : 50562
File Encoding : 65001
Target Server Type : My
SQL
Target Server Version : 50562
File Encoding : 65001
Date: 2019-06-05 11:13:41
Date: 27/08/2019 15:46:59
*/
SET
FOREIGN_KEY_CHECKS
=
0
;
SET
NAMES
utf8mb4
;
SET
FOREIGN_KEY_CHECKS
=
0
;
-- ----------------------------
-- Table structure for alipay_config
...
...
@@ -21,18 +23,23 @@ SET FOREIGN_KEY_CHECKS=0;
DROP
TABLE
IF
EXISTS
`alipay_config`
;
CREATE
TABLE
`alipay_config`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'主键'
,
`app_id`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'应用ID'
,
`charset`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'编码'
,
`format`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'类型 固定格式json'
,
`gateway_url`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'网关地址'
,
`notify_url`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'异步回调'
,
`private_key`
text
COMMENT
'私钥'
,
`public_key`
text
COMMENT
'公钥'
,
`return_url`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'回调地址'
,
`sign_type`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'签名方式'
,
`sys_service_provider_id`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'商户号'
,
`app_id`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'应用ID'
,
`charset`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'编码'
,
`format`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'类型 固定格式json'
,
`gateway_url`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'网关地址'
,
`notify_url`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'异步回调'
,
`private_key`
text
C
HARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
C
OMMENT
'私钥'
,
`public_key`
text
C
HARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
C
OMMENT
'公钥'
,
`return_url`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'回调地址'
,
`sign_type`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'签名方式'
,
`sys_service_provider_id`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'商户号'
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
2
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
2
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Compact
;
-- ----------------------------
-- Records of alipay_config
-- ----------------------------
INSERT
INTO
`alipay_config`
VALUES
(
1
,
'2016091700532697'
,
'utf-8'
,
'JSON'
,
'https://openapi.alipaydev.com/gateway.do'
,
'http://api.auauz.net/api/aliPay/notify'
,
'MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC5js8sInU10AJ0cAQ8UMMyXrQ+oHZEkVt5lBwsStmTJ7YikVYgbskx1YYEXTojRsWCb+SH/kDmDU4pK/u91SJ4KFCRMF2411piYuXU/jF96zKrADznYh/zAraqT6hvAIVtQAlMHN53nx16rLzZ/8jDEkaSwT7+HvHiS+7sxSojnu/3oV7BtgISoUNstmSe8WpWHOaWv19xyS+Mce9MY4BfseFhzTICUymUQdd/8hXA28/H6osUfAgsnxAKv7Wil3aJSgaJczWuflYOve0dJ3InZkhw5Cvr0atwpk8YKBQjy5CdkoHqvkOcIB+cYHXJKzOE5tqU7inSwVbHzOLQ3XbnAgMBAAECggEAVJp5eT0Ixg1eYSqFs9568WdetUNCSUchNxDBu6wxAbhUgfRUGZuJnnAll63OCTGGck+EGkFh48JjRcBpGoeoHLL88QXlZZbC/iLrea6gcDIhuvfzzOffe1RcZtDFEj9hlotg8dQj1tS0gy9pN9g4+EBH7zeu+fyv+qb2e/v1l6FkISXUjpkD7RLQr3ykjiiEw9BpeKb7j5s7Kdx1NNIzhkcQKNqlk8JrTGDNInbDM6inZfwwIO2R1DHinwdfKWkvOTODTYa2MoAvVMFT9Bec9FbLpoWp7ogv1JMV9svgrcF9XLzANZ/OQvkbe9TV9GWYvIbxN6qwQioKCWO4GPnCAQKBgQDgW5MgfhX8yjXqoaUy/d1VjI8dHeIyw8d+OBAYwaxRSlCfyQ+tieWcR2HdTzPca0T0GkWcKZm0ei5xRURgxt4DUDLXNh26HG0qObbtLJdu/AuBUuCqgOiLqJ2f1uIbrz6OZUHns+bT/jGW2Ws8+C13zTCZkZt9CaQsrp3QOGDx5wKBgQDTul39hp3ZPwGNFeZdkGoUoViOSd5Lhowd5wYMGAEXWRLlU8z+smT5v0POz9JnIbCRchIY2FAPKRdVTICzmPk2EPJFxYTcwaNbVqL6lN7J2IlXXMiit5QbiLauo55w7plwV6LQmKm9KV7JsZs5XwqF7CEovI7GevFzyD3w+uizAQKBgC3LY1eRhOlpWOIAhpjG6qOoohmeXOphvdmMlfSHq6WYFqbWwmV4rS5d/6LNpNdL6fItXqIGd8I34jzql49taCmi+A2nlR/E559j0mvM20gjGDIYeZUz5MOE8k+K6/IcrhcgofgqZ2ZED1ksHdB/E8DNWCswZl16V1FrfvjeWSNnAoGAMrBplCrIW5xz+J0Hm9rZKrs+AkK5D4fUv8vxbK/KgxZ2KaUYbNm0xv39c+PZUYuFRCz1HDGdaSPDTE6WeWjkMQd5mS6ikl9hhpqFRkyh0d0fdGToO9yLftQKOGE/q3XUEktI1XvXF0xyPwNgUCnq0QkpHyGVZPtGFxwXiDvpvgECgYA5PoB+nY8iDiRaJNko9w0hL4AeKogwf+4TbCw+KWVEn6jhuJa4LFTdSqp89PktQaoVpwv92el/AhYjWOl/jVCm122f9b7GyoelbjMNolToDwe5pF5RnSpEuDdLy9MfE8LnE3PlbE7E5BipQ3UjSebkgNboLHH/lNZA5qvEtvbfvQ=='
,
'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAut9evKRuHJ/2QNfDlLwvN/S8l9hRAgPbb0u61bm4AtzaTGsLeMtScetxTWJnVvAVpMS9luhEJjt+Sbk5TNLArsgzzwARgaTKOLMT1TvWAK5EbHyI+eSrc3s7Awe1VYGwcubRFWDm16eQLv0k7iqiw+4mweHSz/wWyvBJVgwLoQ02btVtAQErCfSJCOmt0Q/oJQjj08YNRV4EKzB19+f5A+HQVAKy72dSybTzAK+3FPtTtNen/+b5wGeat7c32dhYHnGorPkPeXLtsqqUTp1su5fMfd4lElNdZaoCI7osZxWWUo17vBCZnyeXc9fk0qwD9mK6yRAxNbrY72Xx5VqIqwIDAQAB'
,
'http://api.auauz.net/api/aliPay/return'
,
'RSA2'
,
'2088102176044281'
);
-- ----------------------------
-- Table structure for dept
...
...
@@ -40,26 +47,26 @@ CREATE TABLE `alipay_config` (
DROP
TABLE
IF
EXISTS
`dept`
;
CREATE
TABLE
`dept`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'ID'
,
`name`
varchar
(
255
)
NOT
NULL
COMMENT
'名称'
,
`name`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NOT
NULL
COMMENT
'名称'
,
`pid`
bigint
(
20
)
NOT
NULL
COMMENT
'上级部门'
,
`create_time`
datetime
DEFAULT
NULL
,
`create_time`
datetime
NULL
DEFAULT
NULL
,
`enabled`
bit
(
1
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
13
DEFAULT
CHARSET
=
utf8
;
PRIMARY
KEY
(
`id`
)
USING
BTREE
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
13
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Compact
;
-- ----------------------------
-- Records of dept
-- ----------------------------
INSERT
INTO
`dept`
VALUES
(
'1'
,
'eladmin'
,
'0'
,
'2019-03-25 09:14:05'
,
'
'
);
INSERT
INTO
`dept`
VALUES
(
'2'
,
'研发部'
,
'7'
,
'2019-03-25 09:15:32'
,
'
'
);
INSERT
INTO
`dept`
VALUES
(
'5'
,
'运维部'
,
'7'
,
'2019-03-25 09:20:44'
,
'
'
);
INSERT
INTO
`dept`
VALUES
(
'6'
,
'测试部'
,
'8'
,
'2019-03-25 09:52:18'
,
'
'
);
INSERT
INTO
`dept`
VALUES
(
'7'
,
'华南分部'
,
'1'
,
'2019-03-25 11:04:50'
,
'
'
);
INSERT
INTO
`dept`
VALUES
(
'8'
,
'华北分部'
,
'1'
,
'2019-03-25 11:04:53'
,
'
'
);
INSERT
INTO
`dept`
VALUES
(
'9'
,
'财务部'
,
'7'
,
'2019-03-25 11:05:34'
,
'
'
);
INSERT
INTO
`dept`
VALUES
(
'10'
,
'行政部'
,
'8'
,
'2019-03-25 11:05:58'
,
'
'
);
INSERT
INTO
`dept`
VALUES
(
'11'
,
'人事部'
,
'8'
,
'2019-03-25 11:07:58'
,
'
'
);
INSERT
INTO
`dept`
VALUES
(
'12'
,
'市场部'
,
'7'
,
'2019-03-25 11:10:24'
,
'
\
0
'
);
INSERT
INTO
`dept`
VALUES
(
1
,
'eladmin'
,
0
,
'2019-03-25 09:14:05'
,
b
'1
'
);
INSERT
INTO
`dept`
VALUES
(
2
,
'研发部'
,
7
,
'2019-03-25 09:15:32'
,
b
'1
'
);
INSERT
INTO
`dept`
VALUES
(
5
,
'运维部'
,
7
,
'2019-03-25 09:20:44'
,
b
'1
'
);
INSERT
INTO
`dept`
VALUES
(
6
,
'测试部'
,
8
,
'2019-03-25 09:52:18'
,
b
'1
'
);
INSERT
INTO
`dept`
VALUES
(
7
,
'华南分部'
,
1
,
'2019-03-25 11:04:50'
,
b
'1
'
);
INSERT
INTO
`dept`
VALUES
(
8
,
'华北分部'
,
1
,
'2019-03-25 11:04:53'
,
b
'1
'
);
INSERT
INTO
`dept`
VALUES
(
9
,
'财务部'
,
7
,
'2019-03-25 11:05:34'
,
b
'1
'
);
INSERT
INTO
`dept`
VALUES
(
10
,
'行政部'
,
8
,
'2019-03-25 11:05:58'
,
b
'1
'
);
INSERT
INTO
`dept`
VALUES
(
11
,
'人事部'
,
8
,
'2019-03-25 11:07:58'
,
b
'1
'
);
INSERT
INTO
`dept`
VALUES
(
12
,
'市场部'
,
7
,
'2019-03-25 11:10:24'
,
b
'
0'
);
-- ----------------------------
-- Table structure for dict
...
...
@@ -67,17 +74,17 @@ INSERT INTO `dept` VALUES ('12', '市场部', '7', '2019-03-25 11:10:24', '\0');
DROP
TABLE
IF
EXISTS
`dict`
;
CREATE
TABLE
`dict`
(
`id`
bigint
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`name`
varchar
(
255
)
NOT
NULL
COMMENT
'字典名称'
,
`remark`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'描述'
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
6
DEFAULT
CHARSET
=
utf8
;
`name`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NOT
NULL
COMMENT
'字典名称'
,
`remark`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'描述'
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
6
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Compact
;
-- ----------------------------
-- Records of dict
-- ----------------------------
INSERT
INTO
`dict`
VALUES
(
'1'
,
'user_status'
,
'用户状态'
);
INSERT
INTO
`dict`
VALUES
(
'4'
,
'dept_status'
,
'部门状态'
);
INSERT
INTO
`dict`
VALUES
(
'5'
,
'job_status'
,
'岗位状态'
);
INSERT
INTO
`dict`
VALUES
(
1
,
'user_status'
,
'用户状态'
);
INSERT
INTO
`dict`
VALUES
(
4
,
'dept_status'
,
'部门状态'
);
INSERT
INTO
`dict`
VALUES
(
5
,
'job_status'
,
'岗位状态'
);
-- ----------------------------
-- Table structure for dict_detail
...
...
@@ -85,24 +92,24 @@ INSERT INTO `dict` VALUES ('5', 'job_status', '岗位状态');
DROP
TABLE
IF
EXISTS
`dict_detail`
;
CREATE
TABLE
`dict_detail`
(
`id`
bigint
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`label`
varchar
(
255
)
NOT
NULL
COMMENT
'字典标签'
,
`value`
varchar
(
255
)
NOT
NULL
COMMENT
'字典值'
,
`sort`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'排序'
,
`dict_id`
bigint
(
11
)
DEFAULT
NULL
COMMENT
'字典id'
,
PRIMARY
KEY
(
`id`
),
KEY
`FK5tpkputc6d9nboxojdbgnpmyb`
(
`dict_id`
)
,
CONSTRAINT
`FK5tpkputc6d9nboxojdbgnpmyb`
FOREIGN
KEY
(
`dict_id`
)
REFERENCES
`dict`
(
`id`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
15
DEFAULT
CHARSET
=
utf8
;
`label`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NOT
NULL
COMMENT
'字典标签'
,
`value`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NOT
NULL
COMMENT
'字典值'
,
`sort`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'排序'
,
`dict_id`
bigint
(
11
)
NULL
DEFAULT
NULL
COMMENT
'字典id'
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
,
INDEX
`FK5tpkputc6d9nboxojdbgnpmyb`
(
`dict_id`
)
USING
BTREE
,
CONSTRAINT
`FK5tpkputc6d9nboxojdbgnpmyb`
FOREIGN
KEY
(
`dict_id`
)
REFERENCES
`dict`
(
`id`
)
ON
DELETE
RESTRICT
ON
UPDATE
RESTRICT
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
15
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Compact
;
-- ----------------------------
-- Records of dict_detail
-- ----------------------------
INSERT
INTO
`dict_detail`
VALUES
(
'1'
,
'激活'
,
'true'
,
'1'
,
'1'
);
INSERT
INTO
`dict_detail`
VALUES
(
'2'
,
'锁定'
,
'false'
,
'2'
,
'1'
);
INSERT
INTO
`dict_detail`
VALUES
(
'11'
,
'正常'
,
'true'
,
'1'
,
'4'
);
INSERT
INTO
`dict_detail`
VALUES
(
'12'
,
'停用'
,
'false'
,
'2'
,
'4'
);
INSERT
INTO
`dict_detail`
VALUES
(
'13'
,
'正常'
,
'true'
,
'1'
,
'5'
);
INSERT
INTO
`dict_detail`
VALUES
(
'14'
,
'停用'
,
'false'
,
'2'
,
'5'
);
INSERT
INTO
`dict_detail`
VALUES
(
1
,
'激活'
,
'true'
,
'1'
,
1
);
INSERT
INTO
`dict_detail`
VALUES
(
2
,
'锁定'
,
'false'
,
'2'
,
1
);
INSERT
INTO
`dict_detail`
VALUES
(
11
,
'正常'
,
'true'
,
'1'
,
4
);
INSERT
INTO
`dict_detail`
VALUES
(
12
,
'停用'
,
'false'
,
'2'
,
4
);
INSERT
INTO
`dict_detail`
VALUES
(
13
,
'正常'
,
'true'
,
'1'
,
5
);
INSERT
INTO
`dict_detail`
VALUES
(
14
,
'停用'
,
'false'
,
'2'
,
5
);
-- ----------------------------
-- Table structure for email_config
...
...
@@ -110,13 +117,13 @@ INSERT INTO `dict_detail` VALUES ('14', '停用', 'false', '2', '5');
DROP
TABLE
IF
EXISTS
`email_config`
;
CREATE
TABLE
`email_config`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'ID'
,
`from_user`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'收件人'
,
`host`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'邮件服务器SMTP地址'
,
`pass`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'密码'
,
`port`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'端口'
,
`user`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'发件者用户名'
,
`from_user`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'收件人'
,
`host`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'邮件服务器SMTP地址'
,
`pass`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'密码'
,
`port`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'端口'
,
`user`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'发件者用户名'
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
2
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
2
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Compact
;
-- ----------------------------
-- Table structure for gen_config
...
...
@@ -124,20 +131,20 @@ CREATE TABLE `email_config` (
DROP
TABLE
IF
EXISTS
`gen_config`
;
CREATE
TABLE
`gen_config`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'ID'
,
`author`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'作者'
,
`cover`
bit
(
1
)
DEFAULT
NULL
COMMENT
'是否覆盖'
,
`module_name`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'模块名称'
,
`pack`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'至于哪个包下'
,
`path`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'前端代码生成的路径'
,
`api_path`
varchar
(
255
)
DEFAULT
NULL
,
`prefix`
varchar
(
255
)
DEFAULT
NULL
,
`author`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'作者'
,
`cover`
bit
(
1
)
NULL
DEFAULT
NULL
COMMENT
'是否覆盖'
,
`module_name`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'模块名称'
,
`pack`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'至于哪个包下'
,
`path`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'前端代码生成的路径'
,
`api_path`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
,
`prefix`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
2
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
2
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Compact
;
-- ----------------------------
-- Records of gen_config
-- ----------------------------
INSERT
INTO
`gen_config`
VALUES
(
'1'
,
'jie'
,
'
\0
'
,
'eladmin-system'
,
'me.zhengjie.modules.test'
,
'E:
\\
workspace
\\
me
\\
front
\\
eladmin-qt
\\
src
\\
views
\\
test'
,
'E:
\\
workspace
\\
me
\\
front
\\
eladmin-qt
\\
src
\\
api'
,
null
);
INSERT
INTO
`gen_config`
VALUES
(
1
,
'Zheng Jie'
,
b
'0'
,
'eladmin-system'
,
'me.zhengjie.modules.test'
,
'E:
\\
workspace
\\
me
\\
front
\\
eladmin-qt
\\
src
\\
views
\\
test'
,
'E:
\\
workspace
\\
me
\\
front
\\
eladmin-qt
\\
src
\\
api'
,
NULL
);
-- ----------------------------
-- Table structure for job
...
...
@@ -145,25 +152,29 @@ INSERT INTO `gen_config` VALUES ('1', 'jie', '\0', 'eladmin-system', 'me.zhengji
DROP
TABLE
IF
EXISTS
`job`
;
CREATE
TABLE
`job`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
,
`name`
varchar
(
255
)
NOT
NULL
,
`name`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NOT
NULL
,
`enabled`
bit
(
1
)
NOT
NULL
,
`create_time`
datetime
DEFAULT
NULL
,
`create_time`
datetime
NULL
DEFAULT
NULL
,
`sort`
bigint
(
20
)
NOT
NULL
,
`dept_id`
bigint
(
20
)
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
),
KEY
`FKmvhj0rogastlctflsxf1d6k3i`
(
`dept_id`
)
,
CONSTRAINT
`FKmvhj0rogastlctflsxf1d6k3i`
FOREIGN
KEY
(
`dept_id`
)
REFERENCES
`dept`
(
`id`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
20
DEFAULT
CHARSET
=
utf8
;
`dept_id`
bigint
(
20
)
NULL
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
,
INDEX
`FKmvhj0rogastlctflsxf1d6k3i`
(
`dept_id`
)
USING
BTREE
,
CONSTRAINT
`FKmvhj0rogastlctflsxf1d6k3i`
FOREIGN
KEY
(
`dept_id`
)
REFERENCES
`dept`
(
`id`
)
ON
DELETE
RESTRICT
ON
UPDATE
RESTRICT
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
24
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Compact
;
-- ----------------------------
-- Records of job
-- ----------------------------
INSERT
INTO
`job`
VALUES
(
'2'
,
'董事长秘书'
,
''
,
'2019-03-29 14:01:30'
,
'2'
,
'1'
);
INSERT
INTO
`job`
VALUES
(
'8'
,
'人事专员'
,
''
,
'2019-03-29 14:52:28'
,
'3'
,
'11'
);
INSERT
INTO
`job`
VALUES
(
'10'
,
'产品经理'
,
'
\0
'
,
'2019-03-29 14:55:51'
,
'4'
,
'2'
);
INSERT
INTO
`job`
VALUES
(
'11'
,
'全栈开发'
,
''
,
'2019-03-31 13:39:30'
,
'6'
,
'2'
);
INSERT
INTO
`job`
VALUES
(
'12'
,
'软件测试'
,
''
,
'2019-03-31 13:39:43'
,
'5'
,
'2'
);
INSERT
INTO
`job`
VALUES
(
'19'
,
'董事长'
,
''
,
'2019-03-31 14:58:15'
,
'1'
,
'1'
);
INSERT
INTO
`job`
VALUES
(
2
,
'董事长秘书'
,
b
'1'
,
'2019-03-29 14:01:30'
,
2
,
1
);
INSERT
INTO
`job`
VALUES
(
8
,
'人事专员'
,
b
'1'
,
'2019-03-29 14:52:28'
,
3
,
11
);
INSERT
INTO
`job`
VALUES
(
10
,
'产品经理'
,
b
'0'
,
'2019-03-29 14:55:51'
,
4
,
2
);
INSERT
INTO
`job`
VALUES
(
11
,
'全栈开发'
,
b
'1'
,
'2019-03-31 13:39:30'
,
6
,
2
);
INSERT
INTO
`job`
VALUES
(
12
,
'软件测试'
,
b
'1'
,
'2019-03-31 13:39:43'
,
5
,
2
);
INSERT
INTO
`job`
VALUES
(
19
,
'董事长'
,
b
'1'
,
'2019-03-31 14:58:15'
,
1
,
1
);
INSERT
INTO
`job`
VALUES
(
20
,
'test'
,
b
'1'
,
'2019-06-25 08:50:52'
,
999
,
1
);
INSERT
INTO
`job`
VALUES
(
21
,
'testtest'
,
b
'1'
,
'2019-06-25 08:50:57'
,
999
,
1
);
INSERT
INTO
`job`
VALUES
(
22
,
'testtesttest'
,
b
'1'
,
'2019-06-25 08:51:01'
,
999
,
1
);
INSERT
INTO
`job`
VALUES
(
23
,
'testtesttesttest'
,
b
'1'
,
'2019-06-25 08:51:06'
,
999
,
1
);
-- ----------------------------
-- Table structure for log
...
...
@@ -171,21 +182,18 @@ INSERT INTO `job` VALUES ('19', '董事长', '', '2019-03-31 14:58:15', '1', '1
DROP
TABLE
IF
EXISTS
`log`
;
CREATE
TABLE
`log`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
,
`create_time`
datetime
DEFAULT
NULL
,
`description`
varchar
(
255
)
DEFAULT
NULL
,
`exception_detail`
text
,
`log_type`
varchar
(
255
)
DEFAULT
NULL
,
`method`
varchar
(
255
)
DEFAULT
NULL
,
`params`
text
,
`request_ip`
varchar
(
255
)
DEFAULT
NULL
,
`time`
bigint
(
20
)
DEFAULT
NULL
,
`username`
varchar
(
255
)
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
10334
DEFAULT
CHARSET
=
utf8
;
-- ----------------------------
-- Records of log
-- ----------------------------
`create_time`
datetime
NULL
DEFAULT
NULL
,
`description`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
,
`exception_detail`
text
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
,
`log_type`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
,
`method`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
,
`params`
text
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
,
`request_ip`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
,
`time`
bigint
(
20
)
NULL
DEFAULT
NULL
,
`username`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
,
`address`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
12921
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Compact
;
-- ----------------------------
-- Table structure for menu
...
...
@@ -193,52 +201,55 @@ CREATE TABLE `log` (
DROP
TABLE
IF
EXISTS
`menu`
;
CREATE
TABLE
`menu`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'ID'
,
`create_time`
datetime
DEFAULT
NULL
COMMENT
'创建日期'
,
`i_frame`
bit
(
1
)
DEFAULT
NULL
COMMENT
'是否外链'
,
`name`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'菜单名称'
,
`component`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'组件'
,
`create_time`
datetime
NULL
DEFAULT
NULL
COMMENT
'创建日期'
,
`i_frame`
bit
(
1
)
NULL
DEFAULT
NULL
COMMENT
'是否外链'
,
`name`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'菜单名称'
,
`component`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'组件'
,
`pid`
bigint
(
20
)
NOT
NULL
COMMENT
'上级菜单ID'
,
`sort`
bigint
(
20
)
NOT
NULL
COMMENT
'排序'
,
`icon`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'图标'
,
`path`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'链接地址'
,
`icon`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'图标'
,
`path`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'链接地址'
,
`cache`
bit
(
1
)
NULL
DEFAULT
b
'0'
,
`hidden`
bit
(
1
)
NULL
DEFAULT
b
'0'
,
`component_name`
varchar
(
20
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
'-'
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
41
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
41
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Compact
;
-- ----------------------------
-- Records of menu
-- ----------------------------
INSERT
INTO
`menu`
VALUES
(
'1'
,
'2018-12-18 15:11:29'
,
'
\0
'
,
'系统管理'
,
null
,
'0'
,
'1'
,
'system'
,
'system'
);
INSERT
INTO
`menu`
VALUES
(
'2'
,
'2018-12-18 15:14:44'
,
'
\0
'
,
'用户管理'
,
'system/user/index'
,
'1'
,
'2'
,
'peoples'
,
'u
ser'
);
INSERT
INTO
`menu`
VALUES
(
'3'
,
'2018-12-18 15:16:07'
,
'
\0
'
,
'角色管理'
,
'system/role/index'
,
'1'
,
'3'
,
'role'
,
'r
ole'
);
INSERT
INTO
`menu`
VALUES
(
'4'
,
'2018-12-18 15:16:45'
,
'
\0
'
,
'权限管理'
,
'system/permission/index'
,
'1'
,
'4'
,
'permission'
,
'p
ermission'
);
INSERT
INTO
`menu`
VALUES
(
'5'
,
'2018-12-18 15:17:28'
,
'
\0
'
,
'菜单管理'
,
'system/menu/index'
,
'1'
,
'5'
,
'menu'
,
'm
enu'
);
INSERT
INTO
`menu`
VALUES
(
'6'
,
'2018-12-18 15:17:48'
,
'
\0
'
,
'系统监控'
,
null
,
'0'
,
'10'
,
'monitor'
,
'monitor'
);
INSERT
INTO
`menu`
VALUES
(
'7'
,
'2018-12-18 15:18:26'
,
'
\0
'
,
'操作日志'
,
'monitor/log/index'
,
'6'
,
'11'
,
'log'
,
'logs
'
);
INSERT
INTO
`menu`
VALUES
(
'8'
,
'2018-12-18 15:19:01'
,
'
\0
'
,
'系统缓存'
,
'monitor/redis/index'
,
'6'
,
'13'
,
'redis'
,
'r
edis'
);
INSERT
INTO
`menu`
VALUES
(
'9'
,
'2018-12-18 15:19:34'
,
'
\0
'
,
'SQL监控'
,
'monitor/sql/index'
,
'6'
,
'14'
,
'sqlMonitor'
,
'druid
'
);
INSERT
INTO
`menu`
VALUES
(
'10'
,
'2018-12-19 13:38:16'
,
'
\0
'
,
'组件管理'
,
null
,
'0'
,
'50'
,
'zujian'
,
'components'
);
INSERT
INTO
`menu`
VALUES
(
'11'
,
'2018-12-19 13:38:49'
,
'
\0
'
,
'图标库'
,
'components/IconSelect'
,
'10'
,
'51'
,
'icon'
,
'icon
'
);
INSERT
INTO
`menu`
VALUES
(
'14'
,
'2018-12-27 10:13:09'
,
'
\0
'
,
'邮件工具'
,
'tools/email/index'
,
'36'
,
'24'
,
'email'
,
'e
mail'
);
INSERT
INTO
`menu`
VALUES
(
'15'
,
'2018-12-27 11:58:25'
,
'
\0
'
,
'富文本'
,
'components/Editor'
,
'10'
,
'52'
,
'fwb'
,
'tinymce
'
);
INSERT
INTO
`menu`
VALUES
(
'16'
,
'2018-12-28 09:36:53'
,
'
\0
'
,
'图床管理'
,
'tools/picture/index'
,
'36'
,
'25'
,
'image'
,
'p
ictures'
);
INSERT
INTO
`menu`
VALUES
(
'17'
,
'2018-12-28 15:09:49'
,
''
,
'项目地址'
,
''
,
'0'
,
'0'
,
'github'
,
'https://github.com/elunez/eladmin'
);
INSERT
INTO
`menu`
VALUES
(
'18'
,
'2018-12-31 11:12:15'
,
'
\0
'
,
'七牛云存储'
,
'tools/qiniu/index'
,
'36'
,
'26'
,
'qiniu'
,
'q
iniu'
);
INSERT
INTO
`menu`
VALUES
(
'19'
,
'2018-12-31 14:52:38'
,
'
\0
'
,
'支付宝工具'
,
'tools/aliPay/index'
,
'36'
,
'27'
,
'alipay'
,
'a
liPay'
);
INSERT
INTO
`menu`
VALUES
(
'21'
,
'2019-01-04 16:22:03'
,
'
\0
'
,
'多级菜单'
,
''
,
'0'
,
'900'
,
'menu'
,
'nested'
);
INSERT
INTO
`menu`
VALUES
(
'22'
,
'2019-01-04 16:23:29'
,
'
\0
'
,
'二级菜单1'
,
'nested/menu1/index'
,
'21'
,
'999'
,
'menu'
,
'menu1'
);
INSERT
INTO
`menu`
VALUES
(
'23'
,
'2019-01-04 16:23:57'
,
'
\0
'
,
'二级菜单2'
,
'nested/menu2/index'
,
'21'
,
'999'
,
'menu'
,
'menu2'
);
INSERT
INTO
`menu`
VALUES
(
'24'
,
'2019-01-04 16:24:48'
,
'
\0
'
,
'三级菜单1'
,
'nested/menu1/menu1-1'
,
'22'
,
'999'
,
'menu'
,
'menu1-1'
);
INSERT
INTO
`menu`
VALUES
(
'27'
,
'2019-01-07 17:27:32'
,
'
\0
'
,
'三级菜单2'
,
'nested/menu1/menu1-2'
,
'22'
,
'999'
,
'menu'
,
'menu1-2'
);
INSERT
INTO
`menu`
VALUES
(
'28'
,
'2019-01-07 20:34:40'
,
'
\0
'
,
'定时任务'
,
'system/timing/index'
,
'36'
,
'21'
,
'timing'
,
't
iming'
);
INSERT
INTO
`menu`
VALUES
(
'30'
,
'2019-01-11 15:45:55'
,
'
\0
'
,
'代码生成'
,
'generator/index'
,
'36'
,
'22'
,
'dev'
,
'g
enerator'
);
INSERT
INTO
`menu`
VALUES
(
'32'
,
'2019-01-13 13:49:03'
,
'
\0
'
,
'异常日志'
,
'monitor/log/errorLog'
,
'6'
,
'12'
,
'error'
,
'e
rrorLog'
);
INSERT
INTO
`menu`
VALUES
(
'33'
,
'2019-03-08 13:46:44'
,
'
\0
'
,
'Markdown'
,
'components/MarkDown'
,
'10'
,
'53'
,
'markdown'
,
'm
arkdown'
);
INSERT
INTO
`menu`
VALUES
(
'34'
,
'2019-03-08 15:49:40'
,
'
\0
'
,
'Yaml编辑器'
,
'components/YamlEdit'
,
'10'
,
'54'
,
'dev'
,
'yaml
'
);
INSERT
INTO
`menu`
VALUES
(
'35'
,
'2019-03-25 09:46:00'
,
'
\0
'
,
'部门管理'
,
'system/dept/index'
,
'1'
,
'6'
,
'dept'
,
'd
ept'
);
INSERT
INTO
`menu`
VALUES
(
'36'
,
'2019-03-29 10:57:35'
,
'
\0
'
,
'系统工具'
,
''
,
'0'
,
'20'
,
'sys-tools'
,
'sys-tools'
);
INSERT
INTO
`menu`
VALUES
(
'37'
,
'2019-03-29 13:51:18'
,
'
\0
'
,
'岗位管理'
,
'system/job/index'
,
'1'
,
'7'
,
'Steve-Jobs'
,
'j
ob'
);
INSERT
INTO
`menu`
VALUES
(
'38'
,
'2019-03-29 19:57:53'
,
'
\0
'
,
'接口文档'
,
'tools/swagger/index'
,
'36'
,
'23'
,
'swagger'
,
'swagger2
'
);
INSERT
INTO
`menu`
VALUES
(
'39'
,
'2019-04-10 11:49:04'
,
'
\0
'
,
'字典管理'
,
'system/dict/index'
,
'1'
,
'8'
,
'dictionary'
,
'd
ict'
);
INSERT
INTO
`menu`
VALUES
(
1
,
'2018-12-18 15:11:29'
,
b
'0'
,
'系统管理'
,
NULL
,
0
,
1
,
'system'
,
'system'
,
b
'0'
,
b
'0'
,
NULL
);
INSERT
INTO
`menu`
VALUES
(
2
,
'2018-12-18 15:14:44'
,
b
'0'
,
'用户管理'
,
'system/user/index'
,
1
,
2
,
'peoples'
,
'user'
,
b
'0'
,
b
'0'
,
'U
ser'
);
INSERT
INTO
`menu`
VALUES
(
3
,
'2018-12-18 15:16:07'
,
b
'0'
,
'角色管理'
,
'system/role/index'
,
1
,
3
,
'role'
,
'role'
,
b
'0'
,
b
'0'
,
'R
ole'
);
INSERT
INTO
`menu`
VALUES
(
4
,
'2018-12-18 15:16:45'
,
b
'0'
,
'权限管理'
,
'system/permission/index'
,
1
,
4
,
'permission'
,
'permission'
,
b
'0'
,
b
'0'
,
'P
ermission'
);
INSERT
INTO
`menu`
VALUES
(
5
,
'2018-12-18 15:17:28'
,
b
'0'
,
'菜单管理'
,
'system/menu/index'
,
1
,
5
,
'menu'
,
'menu'
,
b
'0'
,
b
'0'
,
'M
enu'
);
INSERT
INTO
`menu`
VALUES
(
6
,
'2018-12-18 15:17:48'
,
b
'0'
,
'系统监控'
,
NULL
,
0
,
10
,
'monitor'
,
'monitor'
,
b
'0'
,
b
'0'
,
NULL
);
INSERT
INTO
`menu`
VALUES
(
7
,
'2018-12-18 15:18:26'
,
b
'0'
,
'操作日志'
,
'monitor/log/index'
,
6
,
11
,
'log'
,
'logs'
,
b
'1'
,
b
'0'
,
'Log
'
);
INSERT
INTO
`menu`
VALUES
(
8
,
'2018-12-18 15:19:01'
,
b
'0'
,
'系统缓存'
,
'monitor/redis/index'
,
6
,
13
,
'redis'
,
'redis'
,
b
'0'
,
b
'0'
,
'R
edis'
);
INSERT
INTO
`menu`
VALUES
(
9
,
'2018-12-18 15:19:34'
,
b
'0'
,
'SQL监控'
,
'monitor/sql/index'
,
6
,
14
,
'sqlMonitor'
,
'druid'
,
b
'0'
,
b
'0'
,
'Sql
'
);
INSERT
INTO
`menu`
VALUES
(
10
,
'2018-12-19 13:38:16'
,
b
'0'
,
'组件管理'
,
NULL
,
0
,
50
,
'zujian'
,
'components'
,
b
'0'
,
b
'0'
,
NULL
);
INSERT
INTO
`menu`
VALUES
(
11
,
'2018-12-19 13:38:49'
,
b
'0'
,
'图标库'
,
'components/IconSelect'
,
10
,
51
,
'icon'
,
'icon'
,
b
'0'
,
b
'0'
,
'Icons
'
);
INSERT
INTO
`menu`
VALUES
(
14
,
'2018-12-27 10:13:09'
,
b
'0'
,
'邮件工具'
,
'tools/email/index'
,
36
,
24
,
'email'
,
'email'
,
b
'0'
,
b
'0'
,
'E
mail'
);
INSERT
INTO
`menu`
VALUES
(
15
,
'2018-12-27 11:58:25'
,
b
'0'
,
'富文本'
,
'components/Editor'
,
10
,
52
,
'fwb'
,
'tinymce'
,
b
'0'
,
b
'0'
,
'Editor
'
);
INSERT
INTO
`menu`
VALUES
(
16
,
'2018-12-28 09:36:53'
,
b
'0'
,
'图床管理'
,
'tools/picture/index'
,
36
,
25
,
'image'
,
'pictures'
,
b
'0'
,
b
'0'
,
'P
ictures'
);
INSERT
INTO
`menu`
VALUES
(
17
,
'2018-12-28 15:09:49'
,
b
'1'
,
'项目地址'
,
''
,
0
,
0
,
'github'
,
'https://github.com/elunez/eladmin'
,
b
'0'
,
b
'0'
,
NULL
);
INSERT
INTO
`menu`
VALUES
(
18
,
'2018-12-31 11:12:15'
,
b
'0'
,
'七牛云存储'
,
'tools/qiniu/index'
,
36
,
26
,
'qiniu'
,
'qiniu'
,
b
'0'
,
b
'0'
,
'Q
iniu'
);
INSERT
INTO
`menu`
VALUES
(
19
,
'2018-12-31 14:52:38'
,
b
'0'
,
'支付宝工具'
,
'tools/aliPay/index'
,
36
,
27
,
'alipay'
,
'aliPay'
,
b
'0'
,
b
'0'
,
'A
liPay'
);
INSERT
INTO
`menu`
VALUES
(
21
,
'2019-01-04 16:22:03'
,
b
'0'
,
'多级菜单'
,
''
,
0
,
900
,
'menu'
,
'nested'
,
b
'0'
,
b
'0'
,
NULL
);
INSERT
INTO
`menu`
VALUES
(
22
,
'2019-01-04 16:23:29'
,
b
'0'
,
'二级菜单1'
,
'nested/menu1/index'
,
21
,
999
,
'menu'
,
'menu1'
,
b
'0'
,
b
'0'
,
NULL
);
INSERT
INTO
`menu`
VALUES
(
23
,
'2019-01-04 16:23:57'
,
b
'0'
,
'二级菜单2'
,
'nested/menu2/index'
,
21
,
999
,
'menu'
,
'menu2'
,
b
'0'
,
b
'0'
,
NULL
);
INSERT
INTO
`menu`
VALUES
(
24
,
'2019-01-04 16:24:48'
,
b
'0'
,
'三级菜单1'
,
'nested/menu1/menu1-1'
,
22
,
999
,
'menu'
,
'menu1-1'
,
b
'0'
,
b
'0'
,
NULL
);
INSERT
INTO
`menu`
VALUES
(
27
,
'2019-01-07 17:27:32'
,
b
'0'
,
'三级菜单2'
,
'nested/menu1/menu1-2'
,
22
,
999
,
'menu'
,
'menu1-2'
,
b
'0'
,
b
'0'
,
NULL
);
INSERT
INTO
`menu`
VALUES
(
28
,
'2019-01-07 20:34:40'
,
b
'0'
,
'定时任务'
,
'system/timing/index'
,
36
,
21
,
'timing'
,
'timing'
,
b
'0'
,
b
'0'
,
'T
iming'
);
INSERT
INTO
`menu`
VALUES
(
30
,
'2019-01-11 15:45:55'
,
b
'0'
,
'代码生成'
,
'generator/index'
,
36
,
22
,
'dev'
,
'generator'
,
b
'0'
,
b
'0'
,
'G
enerator'
);
INSERT
INTO
`menu`
VALUES
(
32
,
'2019-01-13 13:49:03'
,
b
'0'
,
'异常日志'
,
'monitor/log/errorLog'
,
6
,
12
,
'error'
,
'errorLog'
,
b
'0'
,
b
'0'
,
'E
rrorLog'
);
INSERT
INTO
`menu`
VALUES
(
33
,
'2019-03-08 13:46:44'
,
b
'0'
,
'Markdown'
,
'components/MarkDown'
,
10
,
53
,
'markdown'
,
'markdown'
,
b
'0'
,
b
'0'
,
'M
arkdown'
);
INSERT
INTO
`menu`
VALUES
(
34
,
'2019-03-08 15:49:40'
,
b
'0'
,
'Yaml编辑器'
,
'components/YamlEdit'
,
10
,
54
,
'dev'
,
'yaml'
,
b
'0'
,
b
'0'
,
'YamlEdit
'
);
INSERT
INTO
`menu`
VALUES
(
35
,
'2019-03-25 09:46:00'
,
b
'0'
,
'部门管理'
,
'system/dept/index'
,
1
,
6
,
'dept'
,
'dept'
,
b
'0'
,
b
'0'
,
'D
ept'
);
INSERT
INTO
`menu`
VALUES
(
36
,
'2019-03-29 10:57:35'
,
b
'0'
,
'系统工具'
,
''
,
0
,
20
,
'sys-tools'
,
'sys-tools'
,
b
'0'
,
b
'0'
,
NULL
);
INSERT
INTO
`menu`
VALUES
(
37
,
'2019-03-29 13:51:18'
,
b
'0'
,
'岗位管理'
,
'system/job/index'
,
1
,
7
,
'Steve-Jobs'
,
'job'
,
b
'0'
,
b
'0'
,
'J
ob'
);
INSERT
INTO
`menu`
VALUES
(
38
,
'2019-03-29 19:57:53'
,
b
'0'
,
'接口文档'
,
'tools/swagger/index'
,
36
,
23
,
'swagger'
,
'swagger2'
,
b
'0'
,
b
'0'
,
'Swagger
'
);
INSERT
INTO
`menu`
VALUES
(
39
,
'2019-04-10 11:49:04'
,
b
'0'
,
'字典管理'
,
'system/dict/index'
,
1
,
8
,
'dictionary'
,
'dict'
,
b
'0'
,
b
'0'
,
'D
ict'
);
-- ----------------------------
-- Table structure for permission
...
...
@@ -246,64 +257,64 @@ INSERT INTO `menu` VALUES ('39', '2019-04-10 11:49:04', '\0', '字典管理', 's
DROP
TABLE
IF
EXISTS
`permission`
;
CREATE
TABLE
`permission`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'ID'
,
`alias`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'别名'
,
`create_time`
datetime
DEFAULT
NULL
COMMENT
'创建日期'
,
`name`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'名称'
,
`alias`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'别名'
,
`create_time`
datetime
NULL
DEFAULT
NULL
COMMENT
'创建日期'
,
`name`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'名称'
,
`pid`
int
(
11
)
NOT
NULL
COMMENT
'上级权限'
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
55
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
55
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Compact
;
-- ----------------------------
-- Records of permission
-- ----------------------------
INSERT
INTO
`permission`
VALUES
(
'1'
,
'超级管理员'
,
'2018-12-03 12:27:48'
,
'ADMIN'
,
'0'
);
INSERT
INTO
`permission`
VALUES
(
'2'
,
'用户管理'
,
'2018-12-03 12:28:19'
,
'USER_ALL'
,
'0'
);
INSERT
INTO
`permission`
VALUES
(
'3'
,
'用户查询'
,
'2018-12-03 12:31:35'
,
'USER_SELECT'
,
'2'
);
INSERT
INTO
`permission`
VALUES
(
'4'
,
'用户创建'
,
'2018-12-03 12:31:35'
,
'USER_CREATE'
,
'2'
);
INSERT
INTO
`permission`
VALUES
(
'5'
,
'用户编辑'
,
'2018-12-03 12:31:35'
,
'USER_EDIT'
,
'2'
);
INSERT
INTO
`permission`
VALUES
(
'6'
,
'用户删除'
,
'2018-12-03 12:31:35'
,
'USER_DELETE'
,
'2'
);
INSERT
INTO
`permission`
VALUES
(
'7'
,
'角色管理'
,
'2018-12-03 12:28:19'
,
'ROLES_ALL'
,
'0'
);
INSERT
INTO
`permission`
VALUES
(
'8'
,
'角色查询'
,
'2018-12-03 12:31:35'
,
'ROLES_SELECT'
,
'7'
);
INSERT
INTO
`permission`
VALUES
(
'10'
,
'角色创建'
,
'2018-12-09 20:10:16'
,
'ROLES_CREATE'
,
'7'
);
INSERT
INTO
`permission`
VALUES
(
'11'
,
'角色编辑'
,
'2018-12-09 20:10:42'
,
'ROLES_EDIT'
,
'7'
);
INSERT
INTO
`permission`
VALUES
(
'12'
,
'角色删除'
,
'2018-12-09 20:11:07'
,
'ROLES_DELETE'
,
'7'
);
INSERT
INTO
`permission`
VALUES
(
'13'
,
'权限管理'
,
'2018-12-09 20:11:37'
,
'PERMISSION_ALL'
,
'0'
);
INSERT
INTO
`permission`
VALUES
(
'14'
,
'权限查询'
,
'2018-12-09 20:11:55'
,
'PERMISSION_SELECT'
,
'13'
);
INSERT
INTO
`permission`
VALUES
(
'15'
,
'权限创建'
,
'2018-12-09 20:14:10'
,
'PERMISSION_CREATE'
,
'13'
);
INSERT
INTO
`permission`
VALUES
(
'16'
,
'权限编辑'
,
'2018-12-09 20:15:44'
,
'PERMISSION_EDIT'
,
'13'
);
INSERT
INTO
`permission`
VALUES
(
'17'
,
'权限删除'
,
'2018-12-09 20:15:59'
,
'PERMISSION_DELETE'
,
'13'
);
INSERT
INTO
`permission`
VALUES
(
'18'
,
'缓存管理'
,
'2018-12-17 13:53:25'
,
'REDIS_ALL'
,
'0'
);
INSERT
INTO
`permission`
VALUES
(
'20'
,
'缓存查询'
,
'2018-12-17 13:54:07'
,
'REDIS_SELECT'
,
'18'
);
INSERT
INTO
`permission`
VALUES
(
'22'
,
'缓存删除'
,
'2018-12-17 13:55:04'
,
'REDIS_DELETE'
,
'18'
);
INSERT
INTO
`permission`
VALUES
(
'23'
,
'图床管理'
,
'2018-12-27 20:31:49'
,
'PICTURE_ALL'
,
'0'
);
INSERT
INTO
`permission`
VALUES
(
'24'
,
'查询图片'
,
'2018-12-27 20:32:04'
,
'PICTURE_SELECT'
,
'23'
);
INSERT
INTO
`permission`
VALUES
(
'25'
,
'上传图片'
,
'2018-12-27 20:32:24'
,
'PICTURE_UPLOAD'
,
'23'
);
INSERT
INTO
`permission`
VALUES
(
'26'
,
'删除图片'
,
'2018-12-27 20:32:45'
,
'PICTURE_DELETE'
,
'23'
);
INSERT
INTO
`permission`
VALUES
(
'29'
,
'菜单管理'
,
'2018-12-28 17:34:31'
,
'MENU_ALL'
,
'0'
);
INSERT
INTO
`permission`
VALUES
(
'30'
,
'菜单查询'
,
'2018-12-28 17:34:41'
,
'MENU_SELECT'
,
'29'
);
INSERT
INTO
`permission`
VALUES
(
'31'
,
'菜单创建'
,
'2018-12-28 17:34:52'
,
'MENU_CREATE'
,
'29'
);
INSERT
INTO
`permission`
VALUES
(
'32'
,
'菜单编辑'
,
'2018-12-28 17:35:20'
,
'MENU_EDIT'
,
'29'
);
INSERT
INTO
`permission`
VALUES
(
'33'
,
'菜单删除'
,
'2018-12-28 17:35:29'
,
'MENU_DELETE'
,
'29'
);
INSERT
INTO
`permission`
VALUES
(
'35'
,
'定时任务管理'
,
'2019-01-08 14:59:57'
,
'JOB_ALL'
,
'0'
);
INSERT
INTO
`permission`
VALUES
(
'36'
,
'任务查询'
,
'2019-01-08 15:00:09'
,
'JOB_SELECT'
,
'35'
);
INSERT
INTO
`permission`
VALUES
(
'37'
,
'任务创建'
,
'2019-01-08 15:00:20'
,
'JOB_CREATE'
,
'35'
);
INSERT
INTO
`permission`
VALUES
(
'38'
,
'任务编辑'
,
'2019-01-08 15:00:33'
,
'JOB_EDIT'
,
'35'
);
INSERT
INTO
`permission`
VALUES
(
'39'
,
'任务删除'
,
'2019-01-08 15:01:13'
,
'JOB_DELETE'
,
'35'
);
INSERT
INTO
`permission`
VALUES
(
'40'
,
'部门管理'
,
'2019-03-29 17:06:55'
,
'DEPT_ALL'
,
'0'
);
INSERT
INTO
`permission`
VALUES
(
'41'
,
'部门查询'
,
'2019-03-29 17:07:09'
,
'DEPT_SELECT'
,
'40'
);
INSERT
INTO
`permission`
VALUES
(
'42'
,
'部门创建'
,
'2019-03-29 17:07:29'
,
'DEPT_CREATE'
,
'40'
);
INSERT
INTO
`permission`
VALUES
(
'43'
,
'部门编辑'
,
'2019-03-29 17:07:52'
,
'DEPT_EDIT'
,
'40'
);
INSERT
INTO
`permission`
VALUES
(
'44'
,
'部门删除'
,
'2019-03-29 17:08:14'
,
'DEPT_DELETE'
,
'40'
);
INSERT
INTO
`permission`
VALUES
(
'45'
,
'岗位管理'
,
'2019-03-29 17:08:52'
,
'USERJOB_ALL'
,
'0'
);
INSERT
INTO
`permission`
VALUES
(
'46'
,
'岗位查询'
,
'2019-03-29 17:10:27'
,
'USERJOB_SELECT'
,
'45'
);
INSERT
INTO
`permission`
VALUES
(
'47'
,
'岗位创建'
,
'2019-03-29 17:10:55'
,
'USERJOB_CREATE'
,
'45'
);
INSERT
INTO
`permission`
VALUES
(
'48'
,
'岗位编辑'
,
'2019-03-29 17:11:08'
,
'USERJOB_EDIT'
,
'45'
);
INSERT
INTO
`permission`
VALUES
(
'49'
,
'岗位删除'
,
'2019-03-29 17:11:19'
,
'USERJOB_DELETE'
,
'45'
);
INSERT
INTO
`permission`
VALUES
(
'50'
,
'字典管理'
,
'2019-04-10 16:24:51'
,
'DICT_ALL'
,
'0'
);
INSERT
INTO
`permission`
VALUES
(
'51'
,
'字典查询'
,
'2019-04-10 16:25:16'
,
'DICT_SELECT'
,
'50'
);
INSERT
INTO
`permission`
VALUES
(
'52'
,
'字典创建'
,
'2019-04-10 16:25:29'
,
'DICT_CREATE'
,
'50'
);
INSERT
INTO
`permission`
VALUES
(
'53'
,
'字典编辑'
,
'2019-04-10 16:27:19'
,
'DICT_EDIT'
,
'50'
);
INSERT
INTO
`permission`
VALUES
(
'54'
,
'字典删除'
,
'2019-04-10 16:27:30'
,
'DICT_DELETE'
,
'50'
);
INSERT
INTO
`permission`
VALUES
(
1
,
'超级管理员'
,
'2018-12-03 12:27:48'
,
'ADMIN'
,
0
);
INSERT
INTO
`permission`
VALUES
(
2
,
'用户管理'
,
'2018-12-03 12:28:19'
,
'USER_ALL'
,
0
);
INSERT
INTO
`permission`
VALUES
(
3
,
'用户查询'
,
'2018-12-03 12:31:35'
,
'USER_SELECT'
,
2
);
INSERT
INTO
`permission`
VALUES
(
4
,
'用户创建'
,
'2018-12-03 12:31:35'
,
'USER_CREATE'
,
2
);
INSERT
INTO
`permission`
VALUES
(
5
,
'用户编辑'
,
'2018-12-03 12:31:35'
,
'USER_EDIT'
,
2
);
INSERT
INTO
`permission`
VALUES
(
6
,
'用户删除'
,
'2018-12-03 12:31:35'
,
'USER_DELETE'
,
2
);
INSERT
INTO
`permission`
VALUES
(
7
,
'角色管理'
,
'2018-12-03 12:28:19'
,
'ROLES_ALL'
,
0
);
INSERT
INTO
`permission`
VALUES
(
8
,
'角色查询'
,
'2018-12-03 12:31:35'
,
'ROLES_SELECT'
,
7
);
INSERT
INTO
`permission`
VALUES
(
10
,
'角色创建'
,
'2018-12-09 20:10:16'
,
'ROLES_CREATE'
,
7
);
INSERT
INTO
`permission`
VALUES
(
11
,
'角色编辑'
,
'2018-12-09 20:10:42'
,
'ROLES_EDIT'
,
7
);
INSERT
INTO
`permission`
VALUES
(
12
,
'角色删除'
,
'2018-12-09 20:11:07'
,
'ROLES_DELETE'
,
7
);
INSERT
INTO
`permission`
VALUES
(
13
,
'权限管理'
,
'2018-12-09 20:11:37'
,
'PERMISSION_ALL'
,
0
);
INSERT
INTO
`permission`
VALUES
(
14
,
'权限查询'
,
'2018-12-09 20:11:55'
,
'PERMISSION_SELECT'
,
13
);
INSERT
INTO
`permission`
VALUES
(
15
,
'权限创建'
,
'2018-12-09 20:14:10'
,
'PERMISSION_CREATE'
,
13
);
INSERT
INTO
`permission`
VALUES
(
16
,
'权限编辑'
,
'2018-12-09 20:15:44'
,
'PERMISSION_EDIT'
,
13
);
INSERT
INTO
`permission`
VALUES
(
17
,
'权限删除'
,
'2018-12-09 20:15:59'
,
'PERMISSION_DELETE'
,
13
);
INSERT
INTO
`permission`
VALUES
(
18
,
'缓存管理'
,
'2018-12-17 13:53:25'
,
'REDIS_ALL'
,
0
);
INSERT
INTO
`permission`
VALUES
(
20
,
'缓存查询'
,
'2018-12-17 13:54:07'
,
'REDIS_SELECT'
,
18
);
INSERT
INTO
`permission`
VALUES
(
22
,
'缓存删除'
,
'2018-12-17 13:55:04'
,
'REDIS_DELETE'
,
18
);
INSERT
INTO
`permission`
VALUES
(
23
,
'图床管理'
,
'2018-12-27 20:31:49'
,
'PICTURE_ALL'
,
0
);
INSERT
INTO
`permission`
VALUES
(
24
,
'查询图片'
,
'2018-12-27 20:32:04'
,
'PICTURE_SELECT'
,
23
);
INSERT
INTO
`permission`
VALUES
(
25
,
'上传图片'
,
'2018-12-27 20:32:24'
,
'PICTURE_UPLOAD'
,
23
);
INSERT
INTO
`permission`
VALUES
(
26
,
'删除图片'
,
'2018-12-27 20:32:45'
,
'PICTURE_DELETE'
,
23
);
INSERT
INTO
`permission`
VALUES
(
29
,
'菜单管理'
,
'2018-12-28 17:34:31'
,
'MENU_ALL'
,
0
);
INSERT
INTO
`permission`
VALUES
(
30
,
'菜单查询'
,
'2018-12-28 17:34:41'
,
'MENU_SELECT'
,
29
);
INSERT
INTO
`permission`
VALUES
(
31
,
'菜单创建'
,
'2018-12-28 17:34:52'
,
'MENU_CREATE'
,
29
);
INSERT
INTO
`permission`
VALUES
(
32
,
'菜单编辑'
,
'2018-12-28 17:35:20'
,
'MENU_EDIT'
,
29
);
INSERT
INTO
`permission`
VALUES
(
33
,
'菜单删除'
,
'2018-12-28 17:35:29'
,
'MENU_DELETE'
,
29
);
INSERT
INTO
`permission`
VALUES
(
35
,
'定时任务管理'
,
'2019-01-08 14:59:57'
,
'JOB_ALL'
,
0
);
INSERT
INTO
`permission`
VALUES
(
36
,
'任务查询'
,
'2019-01-08 15:00:09'
,
'JOB_SELECT'
,
35
);
INSERT
INTO
`permission`
VALUES
(
37
,
'任务创建'
,
'2019-01-08 15:00:20'
,
'JOB_CREATE'
,
35
);
INSERT
INTO
`permission`
VALUES
(
38
,
'任务编辑'
,
'2019-01-08 15:00:33'
,
'JOB_EDIT'
,
35
);
INSERT
INTO
`permission`
VALUES
(
39
,
'任务删除'
,
'2019-01-08 15:01:13'
,
'JOB_DELETE'
,
35
);
INSERT
INTO
`permission`
VALUES
(
40
,
'部门管理'
,
'2019-03-29 17:06:55'
,
'DEPT_ALL'
,
0
);
INSERT
INTO
`permission`
VALUES
(
41
,
'部门查询'
,
'2019-03-29 17:07:09'
,
'DEPT_SELECT'
,
40
);
INSERT
INTO
`permission`
VALUES
(
42
,
'部门创建'
,
'2019-03-29 17:07:29'
,
'DEPT_CREATE'
,
40
);
INSERT
INTO
`permission`
VALUES
(
43
,
'部门编辑'
,
'2019-03-29 17:07:52'
,
'DEPT_EDIT'
,
40
);
INSERT
INTO
`permission`
VALUES
(
44
,
'部门删除'
,
'2019-03-29 17:08:14'
,
'DEPT_DELETE'
,
40
);
INSERT
INTO
`permission`
VALUES
(
45
,
'岗位管理'
,
'2019-03-29 17:08:52'
,
'USERJOB_ALL'
,
0
);
INSERT
INTO
`permission`
VALUES
(
46
,
'岗位查询'
,
'2019-03-29 17:10:27'
,
'USERJOB_SELECT'
,
45
);
INSERT
INTO
`permission`
VALUES
(
47
,
'岗位创建'
,
'2019-03-29 17:10:55'
,
'USERJOB_CREATE'
,
45
);
INSERT
INTO
`permission`
VALUES
(
48
,
'岗位编辑'
,
'2019-03-29 17:11:08'
,
'USERJOB_EDIT'
,
45
);
INSERT
INTO
`permission`
VALUES
(
49
,
'岗位删除'
,
'2019-03-29 17:11:19'
,
'USERJOB_DELETE'
,
45
);
INSERT
INTO
`permission`
VALUES
(
50
,
'字典管理'
,
'2019-04-10 16:24:51'
,
'DICT_ALL'
,
0
);
INSERT
INTO
`permission`
VALUES
(
51
,
'字典查询'
,
'2019-04-10 16:25:16'
,
'DICT_SELECT'
,
50
);
INSERT
INTO
`permission`
VALUES
(
52
,
'字典创建'
,
'2019-04-10 16:25:29'
,
'DICT_CREATE'
,
50
);
INSERT
INTO
`permission`
VALUES
(
53
,
'字典编辑'
,
'2019-04-10 16:27:19'
,
'DICT_EDIT'
,
50
);
INSERT
INTO
`permission`
VALUES
(
54
,
'字典删除'
,
'2019-04-10 16:27:30'
,
'DICT_DELETE'
,
50
);
-- ----------------------------
-- Table structure for picture
...
...
@@ -311,16 +322,16 @@ INSERT INTO `permission` VALUES ('54', '字典删除', '2019-04-10 16:27:30', 'D
DROP
TABLE
IF
EXISTS
`picture`
;
CREATE
TABLE
`picture`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'ID'
,
`create_time`
datetime
DEFAULT
NULL
COMMENT
'上传日期'
,
`delete_url`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'删除的URL'
,
`filename`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'图片名称'
,
`height`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'图片高度'
,
`size`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'图片大小'
,
`url`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'图片地址'
,
`username`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'用户名称'
,
`width`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'图片宽度'
,
`create_time`
datetime
NULL
DEFAULT
NULL
COMMENT
'上传日期'
,
`delete_url`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'删除的URL'
,
`filename`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'图片名称'
,
`height`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'图片高度'
,
`size`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'图片大小'
,
`url`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'图片地址'
,
`username`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'用户名称'
,
`width`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'图片宽度'
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
2
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
3
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Compact
;
-- ----------------------------
-- Table structure for qiniu_config
...
...
@@ -328,14 +339,14 @@ CREATE TABLE `picture` (
DROP
TABLE
IF
EXISTS
`qiniu_config`
;
CREATE
TABLE
`qiniu_config`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'ID'
,
`access_key`
text
COMMENT
'accessKey'
,
`bucket`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'Bucket 识别符'
,
`host`
varchar
(
255
)
NOT
NULL
COMMENT
'外链域名'
,
`secret_key`
text
COMMENT
'secretKey'
,
`type`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'空间类型'
,
`zone`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'机房'
,
`access_key`
text
C
HARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
C
OMMENT
'accessKey'
,
`bucket`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'Bucket 识别符'
,
`host`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NOT
NULL
COMMENT
'外链域名'
,
`secret_key`
text
C
HARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
C
OMMENT
'secretKey'
,
`type`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'空间类型'
,
`zone`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'机房'
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
2
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
2
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Compact
;
-- ----------------------------
-- Table structure for qiniu_content
...
...
@@ -343,14 +354,14 @@ CREATE TABLE `qiniu_config` (
DROP
TABLE
IF
EXISTS
`qiniu_content`
;
CREATE
TABLE
`qiniu_content`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'ID'
,
`bucket`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'Bucket 识别符'
,
`name`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'文件名称'
,
`size`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'文件大小'
,
`type`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'文件类型:私有或公开'
,
`update_time`
datetime
DEFAULT
NULL
COMMENT
'上传或同步的时间'
,
`url`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'文件url'
,
`bucket`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'Bucket 识别符'
,
`name`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'文件名称'
,
`size`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'文件大小'
,
`type`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'文件类型:私有或公开'
,
`update_time`
datetime
NULL
DEFAULT
NULL
COMMENT
'上传或同步的时间'
,
`url`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'文件url'
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
6
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
49
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Compact
;
-- ----------------------------
-- Table structure for quartz_job
...
...
@@ -358,23 +369,23 @@ CREATE TABLE `qiniu_content` (
DROP
TABLE
IF
EXISTS
`quartz_job`
;
CREATE
TABLE
`quartz_job`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'ID'
,
`bean_name`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'Spring Bean名称'
,
`cron_expression`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'cron 表达式'
,
`is_pause`
bit
(
1
)
DEFAULT
NULL
COMMENT
'状态:1暂停、0启用'
,
`job_name`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'任务名称'
,
`method_name`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'方法名称'
,
`params`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'参数'
,
`remark`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'备注'
,
`update_time`
datetime
DEFAULT
NULL
COMMENT
'创建或更新日期'
,
`bean_name`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'Spring Bean名称'
,
`cron_expression`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'cron 表达式'
,
`is_pause`
bit
(
1
)
NULL
DEFAULT
NULL
COMMENT
'状态:1暂停、0启用'
,
`job_name`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'任务名称'
,
`method_name`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'方法名称'
,
`params`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'参数'
,
`remark`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'备注'
,
`update_time`
datetime
NULL
DEFAULT
NULL
COMMENT
'创建或更新日期'
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
4
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
4
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Compact
;
-- ----------------------------
-- Records of quartz_job
-- ----------------------------
INSERT
INTO
`quartz_job`
VALUES
(
'1'
,
'visitsTask'
,
'0 0 0 * * ?'
,
'
\0
'
,
'更新访客记录'
,
'run'
,
null
,
'每日0点创建新的访客记录'
,
'2019-01-08 14:53:31'
);
INSERT
INTO
`quartz_job`
VALUES
(
'2'
,
'testTask'
,
'0/5 * * * * ?'
,
''
,
'测试1'
,
'run1'
,
'test'
,
'带参测试,多参使用json'
,
'2019-01-13 14:20:50
'
);
INSERT
INTO
`quartz_job`
VALUES
(
'3'
,
'testTask'
,
'0/5 * * * * ?'
,
''
,
'测试'
,
'run'
,
''
,
'不带参测试'
,
'2019-04-09 16:16:44
'
);
INSERT
INTO
`quartz_job`
VALUES
(
1
,
'visitsTask'
,
'0 0 0 * * ?'
,
b
'0'
,
'更新访客记录'
,
'run'
,
NULL
,
'每日0点创建新的访客记录'
,
'2019-01-08 14:53:31'
);
INSERT
INTO
`quartz_job`
VALUES
(
2
,
'testTask'
,
'0/5 * * * * ?'
,
b
'1'
,
'测试1'
,
'run1'
,
'test'
,
'带参测试,多参使用json'
,
'2019-08-22 14:08:29
'
);
INSERT
INTO
`quartz_job`
VALUES
(
3
,
'testTask'
,
'0/5 * * * * ?'
,
b
'1'
,
'测试'
,
'run'
,
''
,
'不带参测试'
,
'2019-08-22 14:08:28
'
);
-- ----------------------------
-- Table structure for quartz_log
...
...
@@ -382,21 +393,17 @@ INSERT INTO `quartz_job` VALUES ('3', 'testTask', '0/5 * * * * ?', '', '测试'
DROP
TABLE
IF
EXISTS
`quartz_log`
;
CREATE
TABLE
`quartz_log`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
,
`baen_name`
varchar
(
255
)
DEFAULT
NULL
,
`create_time`
datetime
DEFAULT
NULL
,
`cron_expression`
varchar
(
255
)
DEFAULT
NULL
,
`exception_detail`
text
,
`is_success`
bit
(
1
)
DEFAULT
NULL
,
`job_name`
varchar
(
255
)
DEFAULT
NULL
,
`method_name`
varchar
(
255
)
DEFAULT
NULL
,
`params`
varchar
(
255
)
DEFAULT
NULL
,
`time`
bigint
(
20
)
DEFAULT
NULL
,
`baen_name`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
,
`create_time`
datetime
NULL
DEFAULT
NULL
,
`cron_expression`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
,
`exception_detail`
text
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
,
`is_success`
bit
(
1
)
NULL
DEFAULT
NULL
,
`job_name`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
,
`method_name`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
,
`params`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
,
`time`
bigint
(
20
)
NULL
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
3
DEFAULT
CHARSET
=
utf8
;
-- ----------------------------
-- Records of quartz_log
-- ----------------------------
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
29
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Compact
;
-- ----------------------------
-- Table structure for role
...
...
@@ -404,20 +411,20 @@ CREATE TABLE `quartz_log` (
DROP
TABLE
IF
EXISTS
`role`
;
CREATE
TABLE
`role`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'ID'
,
`create_time`
datetime
DEFAULT
NULL
COMMENT
'创建日期'
,
`name`
varchar
(
255
)
NOT
NULL
COMMENT
'名称'
,
`remark`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'备注'
,
`data_scope`
varchar
(
255
)
DEFAULT
NULL
,
`level`
int
(
255
)
DEFAULT
NULL
,
`create_time`
datetime
NULL
DEFAULT
NULL
COMMENT
'创建日期'
,
`name`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NOT
NULL
COMMENT
'名称'
,
`remark`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'备注'
,
`data_scope`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
,
`level`
int
(
255
)
NULL
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
5
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
5
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Compact
;
-- ----------------------------
-- Records of role
-- ----------------------------
INSERT
INTO
`role`
VALUES
(
'1'
,
'2018-11-23 11:04:37'
,
'超级管理员'
,
'系统所有权'
,
'全部'
,
'1'
);
INSERT
INTO
`role`
VALUES
(
'2'
,
'2018-11-23 13:09:06'
,
'普通用户'
,
'用于测试菜单与权限'
,
'自定义'
,
'3'
);
INSERT
INTO
`role`
VALUES
(
'4'
,
'2019-05-13 14:16:15'
,
'普通管理员'
,
'普通管理员级别为2,使用该角色新增用户时只能赋予比普通管理员级别低的角色'
,
'自定义'
,
'2'
);
INSERT
INTO
`role`
VALUES
(
1
,
'2018-11-23 11:04:37'
,
'超级管理员'
,
'·'
,
'全部'
,
1
);
INSERT
INTO
`role`
VALUES
(
2
,
'2018-11-23 13:09:06'
,
'普通用户'
,
'用于测试菜单与权限'
,
'自定义'
,
3
);
INSERT
INTO
`role`
VALUES
(
4
,
'2019-05-13 14:16:15'
,
'普通管理员'
,
'普通管理员级别为2,使用该角色新增用户时只能赋予比普通管理员级别低的角色'
,
'自定义'
,
2
);
-- ----------------------------
-- Table structure for roles_depts
...
...
@@ -426,19 +433,19 @@ DROP TABLE IF EXISTS `roles_depts`;
CREATE
TABLE
`roles_depts`
(
`role_id`
bigint
(
20
)
NOT
NULL
,
`dept_id`
bigint
(
20
)
NOT
NULL
,
PRIMARY
KEY
(
`role_id`
,
`dept_id`
)
,
KEY
`FK7qg6itn5ajdoa9h9o78v9ksur`
(
`dept_id`
)
,
CONSTRAINT
`FK7qg6itn5ajdoa9h9o78v9ksur`
FOREIGN
KEY
(
`dept_id`
)
REFERENCES
`dept`
(
`id`
),
CONSTRAINT
`FKrg1ci4cxxfbja0sb0pddju7k`
FOREIGN
KEY
(
`role_id`
)
REFERENCES
`role`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
PRIMARY
KEY
(
`role_id`
,
`dept_id`
)
USING
BTREE
,
INDEX
`FK7qg6itn5ajdoa9h9o78v9ksur`
(
`dept_id`
)
USING
BTREE
,
CONSTRAINT
`FK7qg6itn5ajdoa9h9o78v9ksur`
FOREIGN
KEY
(
`dept_id`
)
REFERENCES
`dept`
(
`id`
)
ON
DELETE
RESTRICT
ON
UPDATE
RESTRICT
,
CONSTRAINT
`FKrg1ci4cxxfbja0sb0pddju7k`
FOREIGN
KEY
(
`role_id`
)
REFERENCES
`role`
(
`id`
)
ON
DELETE
RESTRICT
ON
UPDATE
RESTRICT
)
ENGINE
=
InnoDB
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Compact
;
-- ----------------------------
-- Records of roles_depts
-- ----------------------------
INSERT
INTO
`roles_depts`
VALUES
(
'2'
,
'5'
);
INSERT
INTO
`roles_depts`
VALUES
(
'4'
,
'6'
);
INSERT
INTO
`roles_depts`
VALUES
(
'4'
,
'7'
);
INSERT
INTO
`roles_depts`
VALUES
(
'2'
,
'8'
);
INSERT
INTO
`roles_depts`
VALUES
(
2
,
5
);
INSERT
INTO
`roles_depts`
VALUES
(
4
,
6
);
INSERT
INTO
`roles_depts`
VALUES
(
4
,
7
);
INSERT
INTO
`roles_depts`
VALUES
(
2
,
8
);
-- ----------------------------
-- Table structure for roles_menus
...
...
@@ -447,79 +454,79 @@ DROP TABLE IF EXISTS `roles_menus`;
CREATE
TABLE
`roles_menus`
(
`menu_id`
bigint
(
20
)
NOT
NULL
COMMENT
'菜单ID'
,
`role_id`
bigint
(
20
)
NOT
NULL
COMMENT
'角色ID'
,
PRIMARY
KEY
(
`menu_id`
,
`role_id`
)
USING
BTREE
,
KEY
`FKcngg2qadojhi3a651a5adkvbq`
(
`role_id`
)
USING
BTREE
,
CONSTRAINT
`FKcngg2qadojhi3a651a5adkvbq`
FOREIGN
KEY
(
`role_id`
)
REFERENCES
`role`
(
`id`
),
CONSTRAINT
`FKq1knxf8ykt26we8k331naabjx`
FOREIGN
KEY
(
`menu_id`
)
REFERENCES
`menu`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
PRIMARY
KEY
(
`menu_id`
,
`role_id`
)
USING
BTREE
,
INDEX
`FKcngg2qadojhi3a651a5adkvbq`
(
`role_id`
)
USING
BTREE
,
CONSTRAINT
`FKcngg2qadojhi3a651a5adkvbq`
FOREIGN
KEY
(
`role_id`
)
REFERENCES
`role`
(
`id`
)
ON
DELETE
RESTRICT
ON
UPDATE
RESTRICT
,
CONSTRAINT
`FKq1knxf8ykt26we8k331naabjx`
FOREIGN
KEY
(
`menu_id`
)
REFERENCES
`menu`
(
`id`
)
ON
DELETE
RESTRICT
ON
UPDATE
RESTRICT
)
ENGINE
=
InnoDB
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Compact
;
-- ----------------------------
-- Records of roles_menus
-- ----------------------------
INSERT
INTO
`roles_menus`
VALUES
(
'1'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'2'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'3'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'4'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'5'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'6'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'7'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'8'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'9'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'10'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'11'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'14'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'15'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'16'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'17'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'18'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'19'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'21'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'22'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'23'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'24'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'27'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'28'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'30'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'32'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'33'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'34'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'35'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'36'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'37'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'38'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'39'
,
'1'
);
INSERT
INTO
`roles_menus`
VALUES
(
'1'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'2'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'3'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'4'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'5'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'6'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'8'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'9'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'10'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'11'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'14'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'15'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'16'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'17'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'18'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'19'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'21'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'22'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'23'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'24'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'27'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'28'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'30'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'33'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'34'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'35'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'36'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'37'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'38'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'39'
,
'2'
);
INSERT
INTO
`roles_menus`
VALUES
(
'1'
,
'4'
);
INSERT
INTO
`roles_menus`
VALUES
(
'2'
,
'4'
);
INSERT
INTO
`roles_menus`
VALUES
(
1
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
2
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
3
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
4
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
5
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
6
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
7
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
8
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
9
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
10
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
11
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
14
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
15
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
16
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
17
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
18
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
19
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
21
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
22
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
23
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
24
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
27
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
28
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
30
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
32
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
33
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
34
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
35
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
36
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
37
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
38
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
39
,
1
);
INSERT
INTO
`roles_menus`
VALUES
(
1
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
2
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
3
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
4
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
5
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
6
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
8
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
9
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
10
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
11
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
14
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
15
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
16
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
17
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
18
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
19
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
21
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
22
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
23
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
24
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
27
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
28
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
30
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
33
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
34
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
35
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
36
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
37
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
38
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
39
,
2
);
INSERT
INTO
`roles_menus`
VALUES
(
1
,
4
);
INSERT
INTO
`roles_menus`
VALUES
(
2
,
4
);
-- ----------------------------
-- Table structure for roles_permissions
...
...
@@ -528,32 +535,32 @@ DROP TABLE IF EXISTS `roles_permissions`;
CREATE
TABLE
`roles_permissions`
(
`role_id`
bigint
(
20
)
NOT
NULL
COMMENT
'角色ID'
,
`permission_id`
bigint
(
20
)
NOT
NULL
COMMENT
'权限ID'
,
PRIMARY
KEY
(
`role_id`
,
`permission_id`
)
USING
BTREE
,
KEY
`FKboeuhl31go7wer3bpy6so7exi`
(
`permission_id`
)
USING
BTREE
,
CONSTRAINT
`FK4hrolwj4ned5i7qe8kyiaak6m`
FOREIGN
KEY
(
`role_id`
)
REFERENCES
`role`
(
`id`
),
CONSTRAINT
`FKboeuhl31go7wer3bpy6so7exi`
FOREIGN
KEY
(
`permission_id`
)
REFERENCES
`permission`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
PRIMARY
KEY
(
`role_id`
,
`permission_id`
)
USING
BTREE
,
INDEX
`FKboeuhl31go7wer3bpy6so7exi`
(
`permission_id`
)
USING
BTREE
,
CONSTRAINT
`FK4hrolwj4ned5i7qe8kyiaak6m`
FOREIGN
KEY
(
`role_id`
)
REFERENCES
`role`
(
`id`
)
ON
DELETE
RESTRICT
ON
UPDATE
RESTRICT
,
CONSTRAINT
`FKboeuhl31go7wer3bpy6so7exi`
FOREIGN
KEY
(
`permission_id`
)
REFERENCES
`permission`
(
`id`
)
ON
DELETE
RESTRICT
ON
UPDATE
RESTRICT
)
ENGINE
=
InnoDB
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Compact
;
-- ----------------------------
-- Records of roles_permissions
-- ----------------------------
INSERT
INTO
`roles_permissions`
VALUES
(
'1'
,
'1'
);
INSERT
INTO
`roles_permissions`
VALUES
(
'2'
,
'3'
);
INSERT
INTO
`roles_permissions`
VALUES
(
'4'
,
'3'
);
INSERT
INTO
`roles_permissions`
VALUES
(
'4'
,
'4'
);
INSERT
INTO
`roles_permissions`
VALUES
(
'4'
,
'5'
);
INSERT
INTO
`roles_permissions`
VALUES
(
'2'
,
'8'
);
INSERT
INTO
`roles_permissions`
VALUES
(
'2'
,
'14'
);
INSERT
INTO
`roles_permissions`
VALUES
(
'2'
,
'20'
);
INSERT
INTO
`roles_permissions`
VALUES
(
'2'
,
'23'
);
INSERT
INTO
`roles_permissions`
VALUES
(
'2'
,
'24'
);
INSERT
INTO
`roles_permissions`
VALUES
(
'2'
,
'25'
);
INSERT
INTO
`roles_permissions`
VALUES
(
'2'
,
'26'
);
INSERT
INTO
`roles_permissions`
VALUES
(
'2'
,
'30'
);
INSERT
INTO
`roles_permissions`
VALUES
(
'2'
,
'36'
);
INSERT
INTO
`roles_permissions`
VALUES
(
'2'
,
'41'
);
INSERT
INTO
`roles_permissions`
VALUES
(
'2'
,
'46'
);
INSERT
INTO
`roles_permissions`
VALUES
(
'2'
,
'51'
);
INSERT
INTO
`roles_permissions`
VALUES
(
1
,
1
);
INSERT
INTO
`roles_permissions`
VALUES
(
2
,
3
);
INSERT
INTO
`roles_permissions`
VALUES
(
4
,
3
);
INSERT
INTO
`roles_permissions`
VALUES
(
4
,
4
);
INSERT
INTO
`roles_permissions`
VALUES
(
4
,
5
);
INSERT
INTO
`roles_permissions`
VALUES
(
2
,
8
);
INSERT
INTO
`roles_permissions`
VALUES
(
2
,
14
);
INSERT
INTO
`roles_permissions`
VALUES
(
2
,
20
);
INSERT
INTO
`roles_permissions`
VALUES
(
2
,
23
);
INSERT
INTO
`roles_permissions`
VALUES
(
2
,
24
);
INSERT
INTO
`roles_permissions`
VALUES
(
2
,
25
);
INSERT
INTO
`roles_permissions`
VALUES
(
2
,
26
);
INSERT
INTO
`roles_permissions`
VALUES
(
2
,
30
);
INSERT
INTO
`roles_permissions`
VALUES
(
2
,
36
);
INSERT
INTO
`roles_permissions`
VALUES
(
2
,
41
);
INSERT
INTO
`roles_permissions`
VALUES
(
2
,
46
);
INSERT
INTO
`roles_permissions`
VALUES
(
2
,
51
);
-- ----------------------------
-- Table structure for user
...
...
@@ -561,31 +568,31 @@ INSERT INTO `roles_permissions` VALUES ('2', '51');
DROP
TABLE
IF
EXISTS
`user`
;
CREATE
TABLE
`user`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'ID'
,
`avatar`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'头像地址'
,
`create_time`
datetime
DEFAULT
NULL
COMMENT
'创建日期'
,
`email`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'邮箱'
,
`enabled`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'状态:1启用、0禁用'
,
`password`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'密码'
,
`username`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'用户名'
,
`last_password_reset_time`
datetime
DEFAULT
NULL
COMMENT
'最后修改密码的日期'
,
`dept_id`
bigint
(
20
)
DEFAULT
NULL
,
`phone`
varchar
(
255
)
DEFAULT
NULL
,
`job_id`
bigint
(
20
)
DEFAULT
NULL
,
`avatar`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'头像地址'
,
`create_time`
datetime
NULL
DEFAULT
NULL
COMMENT
'创建日期'
,
`email`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'邮箱'
,
`enabled`
bigint
(
20
)
NULL
DEFAULT
NULL
COMMENT
'状态:1启用、0禁用'
,
`password`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'密码'
,
`username`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'用户名'
,
`last_password_reset_time`
datetime
NULL
DEFAULT
NULL
COMMENT
'最后修改密码的日期'
,
`dept_id`
bigint
(
20
)
NULL
DEFAULT
NULL
,
`phone`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
,
`job_id`
bigint
(
20
)
NULL
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
,
UNIQUE
KEY
`UK_kpubos9gc2cvtkb0thktkbkes`
(
`email`
)
USING
BTREE
,
UNIQUE
KEY
`username`
(
`username`
)
USING
BTREE
,
KEY
`FK5rwmryny6jthaaxkogownknqp`
(
`dept_id`
)
,
KEY
`FKfftoc2abhot8f2wu6cl9a5iky`
(
`job_id`
)
,
CONSTRAINT
`FK5rwmryny6jthaaxkogownknqp`
FOREIGN
KEY
(
`dept_id`
)
REFERENCES
`dept`
(
`id`
),
CONSTRAINT
`FKfftoc2abhot8f2wu6cl9a5iky`
FOREIGN
KEY
(
`job_id`
)
REFERENCES
`job`
(
`id`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
6
DEFAULT
CHARSET
=
utf8
;
UNIQUE
INDEX
`UK_kpubos9gc2cvtkb0thktkbkes`
(
`email`
)
USING
BTREE
,
UNIQUE
INDEX
`username`
(
`username`
)
USING
BTREE
,
INDEX
`FK5rwmryny6jthaaxkogownknqp`
(
`dept_id`
)
USING
BTREE
,
INDEX
`FKfftoc2abhot8f2wu6cl9a5iky`
(
`job_id`
)
USING
BTREE
,
CONSTRAINT
`FK5rwmryny6jthaaxkogownknqp`
FOREIGN
KEY
(
`dept_id`
)
REFERENCES
`dept`
(
`id`
)
ON
DELETE
RESTRICT
ON
UPDATE
RESTRICT
,
CONSTRAINT
`FKfftoc2abhot8f2wu6cl9a5iky`
FOREIGN
KEY
(
`job_id`
)
REFERENCES
`job`
(
`id`
)
ON
DELETE
RESTRICT
ON
UPDATE
RESTRICT
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
6
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Compact
;
-- ----------------------------
-- Records of user
-- ----------------------------
INSERT
INTO
`user`
VALUES
(
'1'
,
'https://i.loli.net/2019/04/04/5ca5b971e1548.jpeg'
,
'2018-08-23 09:11:56'
,
'admin@eladmin.net'
,
'1'
,
'e10adc3949ba59abbe56e057f20f883e'
,
'admin'
,
'2019-05-18 17:34:21'
,
'2'
,
'18888888888'
,
'11'
);
INSERT
INTO
`user`
VALUES
(
'3'
,
'https://aurora-1255840532.cos.ap-chengdu.myqcloud.com/8918a306ea314404835a9196585c4b75.jpeg'
,
'2018-12-27 20:05:26'
,
'test@eladmin.net'
,
'1'
,
'e10adc3949ba59abbe56e057f20f883e'
,
'test'
,
'2019-04-01 09:15:24'
,
'2'
,
'17777777777'
,
'12'
);
INSERT
INTO
`user`
VALUES
(
'5'
,
'https://aurora-1255840532.cos.ap-chengdu.myqcloud.com/8918a306ea314404835a9196585c4b75.jpeg'
,
'2019-04-02 10:07:12'
,
'hr@eladmin.net'
,
'1'
,
'e10adc3949ba59abbe56e057f20f883e'
,
'hr'
,
null
,
'11'
,
'15555555555'
,
'8'
);
INSERT
INTO
`user`
VALUES
(
1
,
'https://i.loli.net/2019/04/04/5ca5b971e1548.jpeg'
,
'2018-08-23 09:11:56'
,
'admin@eladmin.net'
,
1
,
'e10adc3949ba59abbe56e057f20f883e'
,
'admin'
,
'2019-05-18 17:34:21'
,
2
,
'18888888888'
,
11
);
INSERT
INTO
`user`
VALUES
(
3
,
'https://aurora-1255840532.cos.ap-chengdu.myqcloud.com/8918a306ea314404835a9196585c4b75.jpeg'
,
'2018-12-27 20:05:26'
,
'test@eladmin.net'
,
1
,
'e10adc3949ba59abbe56e057f20f883e'
,
'test'
,
'2019-04-01 09:15:24'
,
2
,
'17777777777'
,
12
);
INSERT
INTO
`user`
VALUES
(
5
,
'https://aurora-1255840532.cos.ap-chengdu.myqcloud.com/8918a306ea314404835a9196585c4b75.jpeg'
,
'2019-04-02 10:07:12'
,
'hr@eladmin.net'
,
1
,
'e10adc3949ba59abbe56e057f20f883e'
,
'hr'
,
NULL
,
11
,
'15555555555'
,
8
);
-- ----------------------------
-- Table structure for users_roles
...
...
@@ -594,18 +601,18 @@ DROP TABLE IF EXISTS `users_roles`;
CREATE
TABLE
`users_roles`
(
`user_id`
bigint
(
20
)
NOT
NULL
COMMENT
'用户ID'
,
`role_id`
bigint
(
20
)
NOT
NULL
COMMENT
'角色ID'
,
PRIMARY
KEY
(
`user_id`
,
`role_id`
)
USING
BTREE
,
KEY
`FKq4eq273l04bpu4efj0jd0jb98`
(
`role_id`
)
USING
BTREE
,
CONSTRAINT
`users_roles_ibfk_1`
FOREIGN
KEY
(
`role_id`
)
REFERENCES
`role`
(
`id`
),
CONSTRAINT
`users_roles_ibfk_2`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`user`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
PRIMARY
KEY
(
`user_id`
,
`role_id`
)
USING
BTREE
,
INDEX
`FKq4eq273l04bpu4efj0jd0jb98`
(
`role_id`
)
USING
BTREE
,
CONSTRAINT
`users_roles_ibfk_1`
FOREIGN
KEY
(
`role_id`
)
REFERENCES
`role`
(
`id`
)
ON
DELETE
RESTRICT
ON
UPDATE
RESTRICT
,
CONSTRAINT
`users_roles_ibfk_2`
FOREIGN
KEY
(
`user_id`
)
REFERENCES
`user`
(
`id`
)
ON
DELETE
RESTRICT
ON
UPDATE
RESTRICT
)
ENGINE
=
InnoDB
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Compact
;
-- ----------------------------
-- Records of users_roles
-- ----------------------------
INSERT
INTO
`users_roles`
VALUES
(
'1'
,
'1'
);
INSERT
INTO
`users_roles`
VALUES
(
'3'
,
'2'
);
INSERT
INTO
`users_roles`
VALUES
(
'5'
,
'4'
);
INSERT
INTO
`users_roles`
VALUES
(
1
,
1
);
INSERT
INTO
`users_roles`
VALUES
(
3
,
2
);
INSERT
INTO
`users_roles`
VALUES
(
5
,
4
);
-- ----------------------------
-- Table structure for verification_code
...
...
@@ -613,18 +620,14 @@ INSERT INTO `users_roles` VALUES ('5', '4');
DROP
TABLE
IF
EXISTS
`verification_code`
;
CREATE
TABLE
`verification_code`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'ID'
,
`code`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'验证码'
,
`create_time`
datetime
DEFAULT
NULL
COMMENT
'创建日期'
,
`status`
bit
(
1
)
DEFAULT
NULL
COMMENT
'状态:1有效、0过期'
,
`type`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'验证码类型:email或者短信'
,
`value`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'接收邮箱或者手机号码'
,
`scenes`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'业务名称:如重置邮箱、重置密码等'
,
`code`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'验证码'
,
`create_time`
datetime
NULL
DEFAULT
NULL
COMMENT
'创建日期'
,
`status`
bit
(
1
)
NULL
DEFAULT
NULL
COMMENT
'状态:1有效、0过期'
,
`type`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'验证码类型:email或者短信'
,
`value`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'接收邮箱或者手机号码'
,
`scenes`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'业务名称:如重置邮箱、重置密码等'
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
-- ----------------------------
-- Records of verification_code
-- ----------------------------
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
2
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Compact
;
-- ----------------------------
-- Table structure for visits
...
...
@@ -632,11 +635,13 @@ CREATE TABLE `verification_code` (
DROP
TABLE
IF
EXISTS
`visits`
;
CREATE
TABLE
`visits`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
,
`create_time`
datetime
DEFAULT
NULL
,
`date`
varchar
(
255
)
DEFAULT
NULL
,
`ip_counts`
bigint
(
20
)
DEFAULT
NULL
,
`pv_counts`
bigint
(
20
)
DEFAULT
NULL
,
`week_day`
varchar
(
255
)
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`UK_11aksgq87euk9bcyeesfs4vtp`
(
`date`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
55
DEFAULT
CHARSET
=
utf8
;
`create_time`
datetime
NULL
DEFAULT
NULL
,
`date`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
,
`ip_counts`
bigint
(
20
)
NULL
DEFAULT
NULL
,
`pv_counts`
bigint
(
20
)
NULL
DEFAULT
NULL
,
`week_day`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
,
UNIQUE
INDEX
`UK_11aksgq87euk9bcyeesfs4vtp`
(
`date`
)
USING
BTREE
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
81
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Compact
;
SET
FOREIGN_KEY_CHECKS
=
1
;
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录