|
@ -1,7 +1,7 @@ |
|
|
/* |
|
|
/* |
|
|
Navicat Premium Data Transfer |
|
|
Navicat Premium Data Transfer |
|
|
|
|
|
|
|
|
Source Server : pandora |
|
|
|
|
|
|
|
|
Source Server : qmplus |
|
|
Source Server Type : MySQL |
|
|
Source Server Type : MySQL |
|
|
Source Server Version : 50644 |
|
|
Source Server Version : 50644 |
|
|
Source Host : localhost:3306 |
|
|
Source Host : localhost:3306 |
|
@ -11,7 +11,7 @@ |
|
|
Target Server Version : 50644 |
|
|
Target Server Version : 50644 |
|
|
File Encoding : 65001 |
|
|
File Encoding : 65001 |
|
|
|
|
|
|
|
|
Date: 14/05/2020 14:04:34 |
|
|
|
|
|
|
|
|
Date: 11/06/2020 09:29:47 |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
SET NAMES utf8mb4; |
|
|
SET NAMES utf8mb4; |
|
@ -166,10 +166,10 @@ CREATE TABLE `exa_customers` ( |
|
|
`created_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`created_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`updated_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`updated_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`deleted_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`deleted_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`customer_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
`customer_phone_data` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
`sys_user_id` int(10) UNSIGNED NULL DEFAULT NULL, |
|
|
|
|
|
`sys_user_authority_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
|
|
|
`customer_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '客户名', |
|
|
|
|
|
`customer_phone_data` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客户手机号', |
|
|
|
|
|
`sys_user_id` int(10) UNSIGNED NULL DEFAULT NULL COMMENT '管理ID', |
|
|
|
|
|
`sys_user_authority_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '管理角色ID', |
|
|
PRIMARY KEY (`id`) USING BTREE, |
|
|
PRIMARY KEY (`id`) USING BTREE, |
|
|
INDEX `idx_exa_customers_deleted_at`(`deleted_at`) USING BTREE |
|
|
INDEX `idx_exa_customers_deleted_at`(`deleted_at`) USING BTREE |
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; |
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; |
|
@ -207,10 +207,10 @@ CREATE TABLE `exa_file_upload_and_downloads` ( |
|
|
`created_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`created_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`updated_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`updated_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`deleted_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`deleted_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
`url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
`tag` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
`key` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
|
|
|
`name` 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 '文件地址\r\n', |
|
|
|
|
|
`tag` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '文件标签\r\n', |
|
|
|
|
|
`key` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '编号', |
|
|
PRIMARY KEY (`id`) USING BTREE, |
|
|
PRIMARY KEY (`id`) USING BTREE, |
|
|
INDEX `idx_file_upload_and_downloads_deleted_at`(`deleted_at`) USING BTREE, |
|
|
INDEX `idx_file_upload_and_downloads_deleted_at`(`deleted_at`) USING BTREE, |
|
|
INDEX `idx_exa_file_upload_and_downloads_deleted_at`(`deleted_at`) USING BTREE |
|
|
INDEX `idx_exa_file_upload_and_downloads_deleted_at`(`deleted_at`) USING BTREE |
|
@ -252,7 +252,7 @@ CREATE TABLE `jwt_blacklists` ( |
|
|
`jwt` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL, |
|
|
`jwt` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL, |
|
|
PRIMARY KEY (`id`) USING BTREE, |
|
|
PRIMARY KEY (`id`) USING BTREE, |
|
|
INDEX `idx_jwt_blacklists_deleted_at`(`deleted_at`) USING BTREE |
|
|
INDEX `idx_jwt_blacklists_deleted_at`(`deleted_at`) USING BTREE |
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 49 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; |
|
|
|
|
|
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 51 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; |
|
|
|
|
|
|
|
|
-- ---------------------------- |
|
|
-- ---------------------------- |
|
|
-- Records of jwt_blacklists |
|
|
-- Records of jwt_blacklists |
|
@ -314,10 +314,10 @@ CREATE TABLE `sys_apis` ( |
|
|
`updated_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`updated_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`deleted_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`deleted_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`authority_id` int(10) UNSIGNED NULL DEFAULT NULL, |
|
|
`authority_id` int(10) UNSIGNED NULL DEFAULT NULL, |
|
|
`path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
`description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
`api_group` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
`method` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT 'POST', |
|
|
|
|
|
|
|
|
`path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'api路径', |
|
|
|
|
|
`description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'api中文描述', |
|
|
|
|
|
`api_group` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'api组', |
|
|
|
|
|
`method` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT 'POST' COMMENT '方法', |
|
|
PRIMARY KEY (`id`) USING BTREE, |
|
|
PRIMARY KEY (`id`) USING BTREE, |
|
|
INDEX `idx_apis_deleted_at`(`deleted_at`) USING BTREE, |
|
|
INDEX `idx_apis_deleted_at`(`deleted_at`) USING BTREE, |
|
|
INDEX `idx_sys_apis_deleted_at`(`deleted_at`) USING BTREE |
|
|
INDEX `idx_sys_apis_deleted_at`(`deleted_at`) USING BTREE |
|
@ -375,9 +375,9 @@ INSERT INTO `sys_apis` VALUES (47, '2020-04-20 15:14:25', '2020-04-20 15:14:25', |
|
|
-- ---------------------------- |
|
|
-- ---------------------------- |
|
|
DROP TABLE IF EXISTS `sys_authorities`; |
|
|
DROP TABLE IF EXISTS `sys_authorities`; |
|
|
CREATE TABLE `sys_authorities` ( |
|
|
CREATE TABLE `sys_authorities` ( |
|
|
`authority_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, |
|
|
|
|
|
`authority_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
`parent_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
|
|
|
`authority_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '角色ID', |
|
|
|
|
|
`authority_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '角色名', |
|
|
|
|
|
`parent_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '父角色ID', |
|
|
`created_at` datetime(0) NULL DEFAULT NULL, |
|
|
`created_at` datetime(0) NULL DEFAULT NULL, |
|
|
`updated_at` datetime(0) NULL DEFAULT NULL, |
|
|
`updated_at` datetime(0) NULL DEFAULT NULL, |
|
|
`deleted_at` datetime(0) NULL DEFAULT NULL, |
|
|
`deleted_at` datetime(0) NULL DEFAULT NULL, |
|
@ -398,8 +398,8 @@ INSERT INTO `sys_authorities` VALUES ('9528', '测试角色', '0', '2020-04-04 1 |
|
|
-- ---------------------------- |
|
|
-- ---------------------------- |
|
|
DROP TABLE IF EXISTS `sys_authority_menus`; |
|
|
DROP TABLE IF EXISTS `sys_authority_menus`; |
|
|
CREATE TABLE `sys_authority_menus` ( |
|
|
CREATE TABLE `sys_authority_menus` ( |
|
|
`sys_authority_authority_id` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL, |
|
|
|
|
|
`sys_base_menu_id` int(10) UNSIGNED NOT NULL DEFAULT 0, |
|
|
|
|
|
|
|
|
`sys_authority_authority_id` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL COMMENT '角色ID', |
|
|
|
|
|
`sys_base_menu_id` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '菜单ID', |
|
|
PRIMARY KEY (`sys_authority_authority_id`, `sys_base_menu_id`) USING BTREE, |
|
|
PRIMARY KEY (`sys_authority_authority_id`, `sys_base_menu_id`) USING BTREE, |
|
|
INDEX `sys_authority_authority_id`(`sys_authority_authority_id`) USING BTREE |
|
|
INDEX `sys_authority_authority_id`(`sys_authority_authority_id`) USING BTREE |
|
|
) ENGINE = InnoDB CHARACTER SET = latin1 COLLATE = latin1_swedish_ci ROW_FORMAT = Compact; |
|
|
) ENGINE = InnoDB CHARACTER SET = latin1 COLLATE = latin1_swedish_ci ROW_FORMAT = Compact; |
|
@ -466,21 +466,21 @@ CREATE TABLE `sys_base_menus` ( |
|
|
`updated_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`updated_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`deleted_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`deleted_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`menu_level` int(10) UNSIGNED NULL DEFAULT NULL, |
|
|
`menu_level` int(10) UNSIGNED NULL DEFAULT NULL, |
|
|
`parent_id` int(10) UNSIGNED NULL DEFAULT NULL, |
|
|
|
|
|
`path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
`hidden` tinyint(1) NULL DEFAULT NULL, |
|
|
|
|
|
`component` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
`title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
`icon` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
|
|
|
`parent_id` int(10) UNSIGNED NULL DEFAULT NULL COMMENT '父菜单ID', |
|
|
|
|
|
`path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '路由path', |
|
|
|
|
|
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '路由name', |
|
|
|
|
|
`hidden` tinyint(1) NULL DEFAULT NULL COMMENT '是否在列表隐藏', |
|
|
|
|
|
`component` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '对应前端文件路径', |
|
|
|
|
|
`title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '菜单名', |
|
|
|
|
|
`icon` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '菜单图标', |
|
|
`nick_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
`nick_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
`sort` int(255) NULL DEFAULT NULL, |
|
|
|
|
|
`keep_alive` tinyint(1) NULL DEFAULT NULL, |
|
|
|
|
|
`default_menu` tinyint(1) NULL DEFAULT NULL, |
|
|
|
|
|
|
|
|
`sort` int(255) NULL DEFAULT NULL COMMENT '排序标记', |
|
|
|
|
|
`keep_alive` tinyint(1) NULL DEFAULT NULL COMMENT '是否缓存', |
|
|
|
|
|
`default_menu` tinyint(1) NULL DEFAULT NULL COMMENT '是否是基础路由(开发中)', |
|
|
PRIMARY KEY (`id`) USING BTREE, |
|
|
PRIMARY KEY (`id`) USING BTREE, |
|
|
INDEX `idx_base_menus_deleted_at`(`deleted_at`) USING BTREE, |
|
|
INDEX `idx_base_menus_deleted_at`(`deleted_at`) USING BTREE, |
|
|
INDEX `idx_sys_base_menus_deleted_at`(`deleted_at`) USING BTREE |
|
|
INDEX `idx_sys_base_menus_deleted_at`(`deleted_at`) 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; |
|
|
|
|
|
|
|
|
-- ---------------------------- |
|
|
-- ---------------------------- |
|
|
-- Records of sys_base_menus |
|
|
-- Records of sys_base_menus |
|
@ -506,14 +506,15 @@ INSERT INTO `sys_base_menus` VALUES (40, '2020-03-29 21:35:10', '2020-05-09 17:4 |
|
|
INSERT INTO `sys_base_menus` VALUES (41, '2020-03-29 21:36:26', '2020-05-09 17:41:29', NULL, 0, 38, 'formCreate', 'formCreate', 0, 'view/systemTools/formCreate/index.vue', '表单生成器', 'magic-stick', '表单生成器', 2, 0, 0); |
|
|
INSERT INTO `sys_base_menus` VALUES (41, '2020-03-29 21:36:26', '2020-05-09 17:41:29', NULL, 0, 38, 'formCreate', 'formCreate', 0, 'view/systemTools/formCreate/index.vue', '表单生成器', 'magic-stick', '表单生成器', 2, 0, 0); |
|
|
INSERT INTO `sys_base_menus` VALUES (42, '2020-04-02 14:19:36', '2020-05-09 17:41:29', NULL, 0, 38, 'system', 'system', 0, 'view/systemTools/system/system.vue', '系统配置', 's-operation', '系统配置', 3, 0, 0); |
|
|
INSERT INTO `sys_base_menus` VALUES (42, '2020-04-02 14:19:36', '2020-05-09 17:41:29', NULL, 0, 38, 'system', 'system', 0, 'view/systemTools/system/system.vue', '系统配置', 's-operation', '系统配置', 3, 0, 0); |
|
|
INSERT INTO `sys_base_menus` VALUES (45, '2020-04-29 17:19:34', '2020-05-09 17:42:23', NULL, 0, 0, 'iconList', 'iconList', 0, 'view/iconList/index.vue', '图标集合', 'star-on', NULL, 2, 0, 0); |
|
|
INSERT INTO `sys_base_menus` VALUES (45, '2020-04-29 17:19:34', '2020-05-09 17:42:23', NULL, 0, 0, 'iconList', 'iconList', 0, 'view/iconList/index.vue', '图标集合', 'star-on', NULL, 2, 0, 0); |
|
|
|
|
|
INSERT INTO `sys_base_menus` VALUES (47, '2020-05-20 16:01:08', '2020-05-20 16:01:08', '2020-05-20 16:01:20', 0, 0, 'testtest/:id', 'testtest', 0, '阿瑟东', 'a\'s\'d', 'user-solid', NULL, 123, 0, 0); |
|
|
|
|
|
|
|
|
-- ---------------------------- |
|
|
-- ---------------------------- |
|
|
-- Table structure for sys_data_authority_id |
|
|
-- Table structure for sys_data_authority_id |
|
|
-- ---------------------------- |
|
|
-- ---------------------------- |
|
|
DROP TABLE IF EXISTS `sys_data_authority_id`; |
|
|
DROP TABLE IF EXISTS `sys_data_authority_id`; |
|
|
CREATE TABLE `sys_data_authority_id` ( |
|
|
CREATE TABLE `sys_data_authority_id` ( |
|
|
`sys_authority_authority_id` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL, |
|
|
|
|
|
`data_authority_id` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL, |
|
|
|
|
|
|
|
|
`sys_authority_authority_id` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL COMMENT '角色ID', |
|
|
|
|
|
`data_authority_id` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL COMMENT '资源角色ID', |
|
|
PRIMARY KEY (`sys_authority_authority_id`, `data_authority_id`) USING BTREE, |
|
|
PRIMARY KEY (`sys_authority_authority_id`, `data_authority_id`) USING BTREE, |
|
|
INDEX `sys_authority_authority_id`(`sys_authority_authority_id`) USING BTREE, |
|
|
INDEX `sys_authority_authority_id`(`sys_authority_authority_id`) USING BTREE, |
|
|
INDEX `data_authority_id`(`data_authority_id`) USING BTREE |
|
|
INDEX `data_authority_id`(`data_authority_id`) USING BTREE |
|
@ -546,27 +547,22 @@ CREATE TABLE `sys_users` ( |
|
|
`created_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`created_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`updated_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`updated_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`deleted_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`deleted_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`uuid` varbinary(255) NULL DEFAULT NULL, |
|
|
|
|
|
`user_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
`pass_word` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
`nick_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT 'QMPlusUser', |
|
|
|
|
|
`header_img` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT 'http://www.henrongyi.top/avatar/lufu.jpg', |
|
|
|
|
|
`authority_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '888', |
|
|
|
|
|
`authority_name` 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, |
|
|
|
|
|
`password` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
`phone_data` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
`manager` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
|
|
|
`uuid` varbinary(255) NULL DEFAULT NULL COMMENT '用户UUID', |
|
|
|
|
|
`nick_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT 'QMPlusUser' COMMENT '用户昵称', |
|
|
|
|
|
`header_img` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT 'http://www.henrongyi.top/avatar/lufu.jpg' COMMENT '用户头像', |
|
|
|
|
|
`authority_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '888' COMMENT '用户角色ID', |
|
|
|
|
|
`username` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户登录名', |
|
|
|
|
|
`password` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户登录密码', |
|
|
PRIMARY KEY (`id`) USING BTREE, |
|
|
PRIMARY KEY (`id`) USING BTREE, |
|
|
INDEX `idx_users_deleted_at`(`deleted_at`) USING BTREE, |
|
|
INDEX `idx_users_deleted_at`(`deleted_at`) USING BTREE, |
|
|
INDEX `idx_sys_users_deleted_at`(`deleted_at`) USING BTREE |
|
|
INDEX `idx_sys_users_deleted_at`(`deleted_at`) USING BTREE |
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 13 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; |
|
|
|
|
|
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 12 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; |
|
|
|
|
|
|
|
|
-- ---------------------------- |
|
|
-- ---------------------------- |
|
|
-- Records of sys_users |
|
|
-- Records of sys_users |
|
|
-- ---------------------------- |
|
|
-- ---------------------------- |
|
|
INSERT INTO `sys_users` VALUES (10, '2019-09-13 17:23:46', '2020-05-06 16:09:15', NULL, 0x63653064363638352D633135662D343132362D613562342D383930626339643233353664, NULL, NULL, '超级管理员', 'http://qmplusimg.henrongyi.top/15887525450B978439-F04A-4a09-A8D3-DE7DE2677142.png', '888', NULL, 'admin', 'e10adc3949ba59abbe56e057f20f883e', NULL, NULL); |
|
|
|
|
|
INSERT INTO `sys_users` VALUES (11, '2019-09-13 17:27:29', '2020-05-09 17:43:44', NULL, 0x66643665663739622D393434632D343838382D383337372D616265326432363038383538, NULL, NULL, 'QMPlusUser', 'http://qmplusimg.henrongyi.top/1572075907logo.png', '9528', NULL, 'a303176530', '3ec063004a6f31642261936a379fde3d', NULL, NULL); |
|
|
|
|
|
|
|
|
INSERT INTO `sys_users` VALUES (10, '2019-09-13 17:23:46', '2020-05-06 16:09:15', NULL, 0x63653064363638352D633135662D343132362D613562342D383930626339643233353664, '超级管理员', 'http://qmplusimg.henrongyi.top/15887525450B978439-F04A-4a09-A8D3-DE7DE2677142.png', '888', 'admin', 'e10adc3949ba59abbe56e057f20f883e'); |
|
|
|
|
|
INSERT INTO `sys_users` VALUES (11, '2019-09-13 17:27:29', '2020-05-09 17:43:44', NULL, 0x66643665663739622D393434632D343838382D383337372D616265326432363038383538, 'QMPlusUser', 'http://qmplusimg.henrongyi.top/1572075907logo.png', '9528', 'a303176530', '3ec063004a6f31642261936a379fde3d'); |
|
|
|
|
|
|
|
|
-- ---------------------------- |
|
|
-- ---------------------------- |
|
|
-- Table structure for sys_workflow_step_infos |
|
|
-- Table structure for sys_workflow_step_infos |
|
@ -577,12 +573,12 @@ CREATE TABLE `sys_workflow_step_infos` ( |
|
|
`created_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`created_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`updated_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`updated_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`deleted_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`deleted_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`workflow_id` int(10) UNSIGNED NULL DEFAULT NULL, |
|
|
|
|
|
`is_strat` tinyint(1) NULL DEFAULT NULL, |
|
|
|
|
|
`step_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
`step_no` double NULL DEFAULT NULL, |
|
|
|
|
|
`step_authority_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
`is_end` tinyint(1) NULL DEFAULT NULL, |
|
|
|
|
|
|
|
|
`workflow_id` int(10) UNSIGNED NULL DEFAULT NULL COMMENT '所属工作流ID', |
|
|
|
|
|
`is_strat` tinyint(1) NULL DEFAULT NULL COMMENT '是否是开始流节点', |
|
|
|
|
|
`step_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '工作流节点名称', |
|
|
|
|
|
`step_no` double NULL DEFAULT NULL COMMENT '步骤id (第几步)', |
|
|
|
|
|
`step_authority_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '操作者级别id', |
|
|
|
|
|
`is_end` tinyint(1) NULL DEFAULT NULL COMMENT '是否是完结流节点', |
|
|
`sys_workflow_id` int(10) UNSIGNED NULL DEFAULT NULL, |
|
|
`sys_workflow_id` int(10) UNSIGNED NULL DEFAULT NULL, |
|
|
PRIMARY KEY (`id`) USING BTREE, |
|
|
PRIMARY KEY (`id`) USING BTREE, |
|
|
INDEX `idx_workflow_step_infos_deleted_at`(`deleted_at`) USING BTREE, |
|
|
INDEX `idx_workflow_step_infos_deleted_at`(`deleted_at`) USING BTREE, |
|
@ -598,9 +594,9 @@ CREATE TABLE `sys_workflows` ( |
|
|
`created_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`created_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`updated_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`updated_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`deleted_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`deleted_at` timestamp(0) NULL DEFAULT NULL, |
|
|
`workflow_nick_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
`workflow_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
`workflow_description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, |
|
|
|
|
|
|
|
|
`workflow_nick_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '工作流中文名称', |
|
|
|
|
|
`workflow_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '工作流英文名称', |
|
|
|
|
|
`workflow_description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '工作流描述', |
|
|
PRIMARY KEY (`id`) USING BTREE, |
|
|
PRIMARY KEY (`id`) USING BTREE, |
|
|
INDEX `idx_workflows_deleted_at`(`deleted_at`) USING BTREE, |
|
|
INDEX `idx_workflows_deleted_at`(`deleted_at`) USING BTREE, |
|
|
INDEX `idx_sys_workflows_deleted_at`(`deleted_at`) USING BTREE |
|
|
INDEX `idx_sys_workflows_deleted_at`(`deleted_at`) USING BTREE |
|
|