forked from elunez/eladmin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
郑杰
committed
Jan 6, 2019
1 parent
49f3e59
commit 588bff0
Showing
1 changed file
with
26 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
Target Server Version : 50559 | ||
File Encoding : 65001 | ||
Date: 31/12/2018 15:52:01 | ||
Date: 06/01/2019 13:09:59 | ||
*/ | ||
|
||
SET NAMES utf8mb4; | ||
|
@@ -22,10 +22,10 @@ SET FOREIGN_KEY_CHECKS = 0; | |
-- ---------------------------- | ||
DROP TABLE IF EXISTS `alipay_config`; | ||
CREATE TABLE `alipay_config` ( | ||
`id` bigint(20) NOT NULL AUTO_INCREMENT, | ||
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键', | ||
`appID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, | ||
`charset` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, | ||
`format` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, | ||
`format` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '类型 固定格式json', | ||
`gatewayUrl` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, | ||
`notifyUrl` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, | ||
`privateKey` varchar(2000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, | ||
|
@@ -63,15 +63,15 @@ CREATE TABLE `log` ( | |
`id` bigint(20) NOT NULL AUTO_INCREMENT, | ||
`createTime` datetime NULL DEFAULT NULL, | ||
`description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, | ||
`exceptionDetail` varchar(1500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, | ||
`exceptionDetail` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL, | ||
`logType` 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` varchar(1500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, | ||
`params` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL, | ||
`requestIp` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, | ||
`time` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, | ||
`username` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, | ||
PRIMARY KEY (`id`) USING BTREE | ||
) ENGINE = InnoDB AUTO_INCREMENT = 4214 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; | ||
) ENGINE = InnoDB AUTO_INCREMENT = 4553 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; | ||
|
||
-- ---------------------------- | ||
-- Table structure for menu | ||
|
@@ -88,7 +88,7 @@ CREATE TABLE `menu` ( | |
`icon` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, | ||
`path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, | ||
PRIMARY KEY (`id`) USING BTREE | ||
) ENGINE = InnoDB AUTO_INCREMENT = 20 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; | ||
) ENGINE = InnoDB AUTO_INCREMENT = 25 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; | ||
|
||
-- ---------------------------- | ||
-- Records of menu | ||
|
@@ -112,6 +112,10 @@ INSERT INTO `menu` VALUES (16, '2018-12-28 09:36:53', b'0', 'SM.MS图床', 'tool | |
INSERT INTO `menu` VALUES (17, '2018-12-28 15:09:49', b'1', '项目地址', '', 0, 0, 'github', 'https://github.com/elunez/eladmin'); | ||
INSERT INTO `menu` VALUES (18, '2018-12-31 11:12:15', b'0', '七牛云存储', 'tools/qiniu/index', 13, 23, 'qiniu', 'qiniu'); | ||
INSERT INTO `menu` VALUES (19, '2018-12-31 14:52:38', b'0', '支付宝工具', 'tools/aliPay/index', 13, 24, 'alipay', 'aliPay'); | ||
INSERT INTO `menu` VALUES (21, '2019-01-04 16:22:03', b'0', '多级菜单', '', 0, 900, 'menu', 'menu1'); | ||
INSERT INTO `menu` VALUES (22, '2019-01-04 16:23:29', b'0', '二级菜单1', '', 21, 999, 'menu', 'menu1-1'); | ||
INSERT INTO `menu` VALUES (23, '2019-01-04 16:23:57', b'0', '二级菜单2', '', 21, 999, 'menu', 'menu1-2'); | ||
INSERT INTO `menu` VALUES (24, '2019-01-04 16:24:48', b'1', '三级菜单', '', 22, 999, 'chain', 'https://github.com/elunez/eladmin'); | ||
|
||
-- ---------------------------- | ||
-- Table structure for menus_roles | ||
|
@@ -148,6 +152,10 @@ INSERT INTO `menus_roles` VALUES (16, 1); | |
INSERT INTO `menus_roles` VALUES (17, 1); | ||
INSERT INTO `menus_roles` VALUES (18, 1); | ||
INSERT INTO `menus_roles` VALUES (19, 1); | ||
INSERT INTO `menus_roles` VALUES (21, 1); | ||
INSERT INTO `menus_roles` VALUES (22, 1); | ||
INSERT INTO `menus_roles` VALUES (23, 1); | ||
INSERT INTO `menus_roles` VALUES (24, 1); | ||
INSERT INTO `menus_roles` VALUES (1, 2); | ||
INSERT INTO `menus_roles` VALUES (2, 2); | ||
INSERT INTO `menus_roles` VALUES (3, 2); | ||
|
@@ -162,6 +170,10 @@ INSERT INTO `menus_roles` VALUES (16, 2); | |
INSERT INTO `menus_roles` VALUES (17, 2); | ||
INSERT INTO `menus_roles` VALUES (18, 2); | ||
INSERT INTO `menus_roles` VALUES (19, 2); | ||
INSERT INTO `menus_roles` VALUES (21, 2); | ||
INSERT INTO `menus_roles` VALUES (22, 2); | ||
INSERT INTO `menus_roles` VALUES (23, 2); | ||
INSERT INTO `menus_roles` VALUES (24, 2); | ||
|
||
-- ---------------------------- | ||
-- Table structure for permission | ||
|
@@ -174,7 +186,7 @@ CREATE TABLE `permission` ( | |
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, | ||
`pid` int(11) NOT NULL, | ||
PRIMARY KEY (`id`) USING BTREE | ||
) ENGINE = InnoDB AUTO_INCREMENT = 34 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; | ||
) ENGINE = InnoDB AUTO_INCREMENT = 35 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; | ||
|
||
-- ---------------------------- | ||
-- Records of permission | ||
|
@@ -225,7 +237,7 @@ CREATE TABLE `picture` ( | |
`username` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, | ||
`width` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, | ||
PRIMARY KEY (`id`) USING BTREE | ||
) ENGINE = InnoDB AUTO_INCREMENT = 47 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; | ||
) ENGINE = InnoDB AUTO_INCREMENT = 48 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; | ||
|
||
-- ---------------------------- | ||
-- Table structure for qiniu_config | ||
|
@@ -255,7 +267,7 @@ CREATE TABLE `qiniu_content` ( | |
`updateTime` datetime NULL DEFAULT NULL, | ||
`url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, | ||
PRIMARY KEY (`id`) USING BTREE | ||
) ENGINE = InnoDB AUTO_INCREMENT = 10 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; | ||
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; | ||
|
||
-- ---------------------------- | ||
-- Table structure for role | ||
|
@@ -315,12 +327,12 @@ CREATE TABLE `user` ( | |
PRIMARY KEY (`id`) USING BTREE, | ||
UNIQUE INDEX `UK_kpubos9gc2cvtkb0thktkbkes`(`email`) USING BTREE, | ||
UNIQUE INDEX `username`(`username`) USING BTREE | ||
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; | ||
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; | ||
|
||
-- ---------------------------- | ||
-- Records of user | ||
-- ---------------------------- | ||
INSERT INTO `user` VALUES (1, 'https://i.loli.net/2018/12/31/5c297270b20e2.jpg', '2018-08-23 09:11:56', 'elunez@qq.com', 1, '14e1b600b1fd579f47433b88e8d85291', 'admin', '2018-11-23 10:12:36'); | ||
INSERT INTO `user` VALUES (1, 'https://i.loli.net/2018/12/31/5c297270b20e2.jpg', '2018-08-23 09:11:56', 'admin@qq.com', 1, '14e1b600b1fd579f47433b88e8d85291', 'admin', '2018-11-23 10:12:36'); | ||
INSERT INTO `user` VALUES (3, 'https://i.loli.net/2018/12/30/5c2871d6aa101.jpg', '2018-12-27 20:05:26', '[email protected]', 1, '14e1b600b1fd579f47433b88e8d85291', 'test', NULL); | ||
|
||
-- ---------------------------- | ||
|
@@ -355,7 +367,7 @@ CREATE TABLE `verification_code` ( | |
`value` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, | ||
`scenes` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, | ||
PRIMARY KEY (`id`) USING BTREE | ||
) ENGINE = InnoDB AUTO_INCREMENT = 32 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; | ||
) ENGINE = InnoDB AUTO_INCREMENT = 33 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; | ||
|
||
-- ---------------------------- | ||
-- Table structure for visits | ||
|
@@ -369,11 +381,6 @@ CREATE TABLE `visits` ( | |
`weekDay` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, | ||
`createTime` datetime NULL DEFAULT NULL, | ||
PRIMARY KEY (`id`) USING BTREE | ||
) ENGINE = InnoDB AUTO_INCREMENT = 47 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; | ||
|
||
-- ---------------------------- | ||
-- Records of visits | ||
-- ---------------------------- | ||
INSERT INTO `visits` VALUES (46, '2018-12-31', 1, 3, 'Mon', '2018-12-31 15:50:19'); | ||
) ENGINE = InnoDB AUTO_INCREMENT = 51 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; | ||
|
||
SET FOREIGN_KEY_CHECKS = 1; |