@ -22,14 +22,14 @@ SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
DROP TABLE IF EXISTS ` casbin_rule ` ;
CREATE TABLE ` casbin_rule ` (
` p_type ` varchar ( 100 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
` v0 ` varchar ( 100 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
` v1 ` varchar ( 100 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
` v2 ` varchar ( 100 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
` v3 ` varchar ( 100 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
` v4 ` varchar ( 100 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
` v5 ` varchar ( 100 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact ;
` p_type ` varchar ( 100 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL ,
` v0 ` varchar ( 100 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL ,
` v1 ` varchar ( 100 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL ,
` v2 ` varchar ( 100 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL ,
` v3 ` varchar ( 100 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL ,
` v4 ` varchar ( 100 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL ,
` v5 ` varchar ( 100 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Compact ;
-- ----------------------------
-- Records of casbin_rule
@ -190,12 +190,12 @@ CREATE TABLE `exa_customers` (
` updated_at ` timestamp ( 0 ) NULL DEFAULT NULL ,
` deleted_at ` timestamp ( 0 ) NULL DEFAULT NULL ,
` customer_name ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 客户名 ' ,
` customer_phone_data ` varchar ( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ' 客户电话 ' ,
` customer_phone_data ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin 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 ' 负责员工角色 ' ,
` sys_user_authority_id ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 负责员工角色 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE ,
INDEX ` idx_exa_customers_deleted_at ` ( ` deleted_at ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Compact ;
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Compact ;
-- ----------------------------
-- Records of exa_customers
@ -212,11 +212,11 @@ CREATE TABLE `exa_file_chunks` (
` updated_at ` timestamp ( 0 ) NULL DEFAULT NULL ,
` deleted_at ` timestamp ( 0 ) NULL DEFAULT NULL ,
` exa_file_id ` int ( 10 ) UNSIGNED NULL DEFAULT NULL COMMENT ' 文件id ' ,
` file_chunk_path ` varchar ( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ' 切片路径 ' ,
` file_chunk_path ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 切片路径 ' ,
` file_chunk_number ` int ( 11 ) NULL DEFAULT NULL COMMENT ' 切片标号 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE ,
INDEX ` idx_exa_file_chunks_deleted_at ` ( ` deleted_at ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact ;
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Compact ;
-- ----------------------------
-- Table structure for exa_file_upload_and_downloads
@ -227,14 +227,14 @@ CREATE TABLE `exa_file_upload_and_downloads` (
` created_at ` timestamp ( 0 ) NULL DEFAULT NULL ,
` updated_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 COMMENT ' 文件名 ' ,
` url ` varchar ( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ' 文件URL ' ,
` tag ` varchar ( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ' 文件类型 ' ,
` key ` varchar ( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ' 标记 ' ,
` name ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 文件名 ' ,
` url ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 文件URL ' ,
` tag ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 文件类型 ' ,
` key ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 标记 ' ,
PRIMARY KEY ( ` id ` ) 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
) ENGINE = InnoDB AUTO_INCREMENT = 20 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact ;
) ENGINE = InnoDB AUTO_INCREMENT = 20 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Compact ;
-- ----------------------------
-- Records of exa_file_upload_and_downloads
@ -251,14 +251,14 @@ CREATE TABLE `exa_files` (
` created_at ` timestamp ( 0 ) NULL DEFAULT NULL ,
` updated_at ` timestamp ( 0 ) NULL DEFAULT NULL ,
` deleted_at ` timestamp ( 0 ) NULL DEFAULT NULL ,
` file_name ` varchar ( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ' 文件名 ' ,
` file_md5 ` varchar ( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ' 文件md5 ' ,
` file_path ` varchar ( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ' 文件路径 ' ,
` file_name ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 文件名 ' ,
` file_md5 ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 文件md5 ' ,
` file_path ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 文件路径 ' ,
` chunk_total ` int ( 11 ) NULL DEFAULT NULL COMMENT ' 切片总数 ' ,
` is_finish ` tinyint ( 1 ) NULL DEFAULT NULL COMMENT ' 是否完整 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE ,
INDEX ` idx_exa_files_deleted_at ` ( ` deleted_at ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact ;
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Compact ;
-- ----------------------------
-- Table structure for exa_simple_uploaders
@ -274,7 +274,7 @@ CREATE TABLE `exa_simple_uploaders` (
` total_chunks ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 切片总数 ' ,
` is_done ` tinyint ( 1 ) NULL DEFAULT NULL COMMENT ' 是否上传完成 ' ,
` file_path ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 文件本地路径 '
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Compact ;
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Compact ;
-- ----------------------------
-- Records of exa_simple_uploaders
@ -290,10 +290,10 @@ CREATE TABLE `jwt_blacklists` (
` created_at ` timestamp ( 0 ) NULL DEFAULT NULL ,
` updated_at ` timestamp ( 0 ) NULL DEFAULT NULL ,
` deleted_at ` timestamp ( 0 ) NULL DEFAULT NULL ,
` jwt ` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT ' jwt ' ,
` jwt ` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT ' jwt ' ,
PRIMARY KEY ( ` id ` ) USING BTREE ,
INDEX ` idx_jwt_blacklists_deleted_at ` ( ` deleted_at ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact ;
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Compact ;
-- ----------------------------
-- Table structure for sys_apis
@ -305,14 +305,14 @@ CREATE TABLE `sys_apis` (
` updated_at ` timestamp ( 0 ) NULL DEFAULT NULL ,
` deleted_at ` timestamp ( 0 ) NULL DEFAULT NULL ,
` authority_id ` int ( 10 ) UNSIGNED NULL DEFAULT NULL COMMENT ' 角色id ' ,
` path ` varchar ( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ' 路由path ' ,
` description ` varchar ( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ' 路由描述 ' ,
` api_group ` varchar ( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ' 路由分组 ' ,
` method ` varchar ( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT ' POST ' COMMENT ' 请求方法 ' ,
` path ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 路由path ' ,
` description ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 路由描述 ' ,
` api_group ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 路由分组 ' ,
` method ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT ' POST ' COMMENT ' 请求方法 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE ,
INDEX ` idx_apis_deleted_at ` ( ` deleted_at ` ) USING BTREE ,
INDEX ` idx_sys_apis_deleted_at ` ( ` deleted_at ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 103 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact ;
) ENGINE = InnoDB AUTO_INCREMENT = 103 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Compact ;
-- ----------------------------
-- Records of sys_apis
@ -390,15 +390,15 @@ INSERT INTO `sys_apis` VALUES (102, '2020-08-15 22:28:04', '2020-08-15 22:28:04'
DROP TABLE IF EXISTS ` sys_authorities ` ;
CREATE TABLE ` sys_authorities ` (
` 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 ' 父角色 ' ,
` authority_name ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 角色名 ' ,
` parent_id ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 父角色 ' ,
` created_at ` datetime ( 0 ) NULL DEFAULT NULL ,
` updated_at ` datetime ( 0 ) NULL DEFAULT NULL ,
` deleted_at ` datetime ( 0 ) NULL DEFAULT NULL ,
PRIMARY KEY ( ` authority_id ` ) USING BTREE ,
UNIQUE INDEX ` authority_id ` ( ` authority_id ` ) USING BTREE ,
INDEX ` idx_sys_authorities_deleted_at ` ( ` deleted_at ` ) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact ;
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Compact ;
-- ----------------------------
-- Records of sys_authorities
@ -485,12 +485,7 @@ CREATE TABLE `sys_base_menu_parameters` (
` value ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL ,
PRIMARY KEY ( ` id ` ) USING BTREE ,
INDEX ` idx_sys_base_menu_parameters_deleted_at ` ( ` deleted_at ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 16 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Compact ;
-- ----------------------------
-- Records of sys_base_menu_parameters
-- ----------------------------
INSERT INTO ` sys_base_menu_parameters ` VALUES ( 15 , ' 2020-08-23 16:25:22 ' , ' 2020-08-23 16:25:22 ' , ' 2020-08-23 16:25:25 ' , 2 , ' query ' , ' 123 ' , ' 213 ' ) ;
) ENGINE = InnoDB AUTO_INCREMENT = 9 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Compact ;
-- ----------------------------
-- Table structure for sys_base_menus
@ -503,20 +498,20 @@ CREATE TABLE `sys_base_menus` (
` deleted_at ` timestamp ( 0 ) NULL DEFAULT NULL ,
` menu_level ` int ( 10 ) UNSIGNED NULL DEFAULT NULL COMMENT ' 菜单等级(暂未使用) ' ,
` 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(路由path) ' ,
` name ` varchar ( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ' 菜单name(路由name) ' ,
` path ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 菜单path(路由path) ' ,
` name ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 菜单name(路由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 COMMENT ' 菜单别名 ' ,
` component ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 组件位置 ' ,
` title ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 显示名字 ' ,
` icon ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 显示图标 ' ,
` nick_name ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 菜单别名 ' ,
` 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 ,
INDEX ` idx_base_menus_deleted_at ` ( ` deleted_at ` ) USING BTREE ,
INDEX ` idx_sys_base_menus_deleted_at ` ( ` deleted_at ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 54 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact ;
) ENGINE = InnoDB AUTO_INCREMENT = 54 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Compact ;
-- ----------------------------
-- Records of sys_base_menus
@ -572,13 +567,13 @@ CREATE TABLE `sys_dictionaries` (
` created_at ` datetime ( 0 ) NULL DEFAULT NULL ,
` updated_at ` datetime ( 0 ) NULL DEFAULT NULL ,
` deleted_at ` datetime ( 0 ) NULL DEFAULT NULL ,
` name ` 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 ' 字典名(英) ' ,
` name ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 字典名(中) ' ,
` type ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 字典名(英) ' ,
` status ` tinyint ( 1 ) NULL DEFAULT NULL COMMENT ' 状态 ' ,
` desc ` varchar ( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ' 描述 ' ,
` desc ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 描述 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE ,
INDEX ` idx_sys_dictionaries_deleted_at ` ( ` deleted_at ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact ;
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Compact ;
-- ----------------------------
-- Records of sys_dictionaries
@ -599,14 +594,14 @@ CREATE TABLE `sys_dictionary_details` (
` created_at ` datetime ( 0 ) NULL DEFAULT NULL ,
` updated_at ` datetime ( 0 ) NULL DEFAULT NULL ,
` deleted_at ` datetime ( 0 ) NULL DEFAULT NULL ,
` label ` varchar ( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ' 展示值 ' ,
` label ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 展示值 ' ,
` value ` int ( 11 ) NULL DEFAULT NULL COMMENT ' 字典值 ' ,
` status ` tinyint ( 1 ) NULL DEFAULT NULL COMMENT ' 启用状态 ' ,
` sort ` int ( 11 ) NULL DEFAULT NULL COMMENT ' 排序标记 ' ,
` sys_dictionary_id ` int ( 11 ) NULL DEFAULT NULL COMMENT ' 关联标记 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE ,
INDEX ` idx_sys_dictionary_details_deleted_at ` ( ` deleted_at ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 38 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact ;
) ENGINE = InnoDB AUTO_INCREMENT = 38 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Compact ;
-- ----------------------------
-- Records of sys_dictionary_details
@ -755,15 +750,15 @@ CREATE TABLE `sys_users` (
` updated_at ` timestamp ( 0 ) NULL DEFAULT NULL ,
` deleted_at ` timestamp ( 0 ) 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 ' 用户头像 ' ,
` nick_name ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT ' QMPlusUser ' COMMENT ' 用户昵称 ' ,
` header_img ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT ' http://www.henrongyi.top/avatar/lufu.jpg ' COMMENT ' 用户头像 ' ,
` authority_id ` double NULL DEFAULT 888 COMMENT ' 用户角色 ' ,
` 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 ' 登录密码 ' ,
` username ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 登录用户名 ' ,
` password ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 登录密码 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE ,
INDEX ` idx_users_deleted_at ` ( ` deleted_at ` ) USING BTREE ,
INDEX ` idx_sys_users_deleted_at ` ( ` deleted_at ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 12 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact ;
) ENGINE = InnoDB AUTO_INCREMENT = 12 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Compact ;
-- ----------------------------
-- Records of sys_users
@ -782,15 +777,15 @@ CREATE TABLE `sys_workflow_step_infos` (
` deleted_at ` timestamp ( 0 ) 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 ' 步骤name ' ,
` step_name ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 步骤name ' ,
` step_no ` double NULL DEFAULT NULL COMMENT ' 第几步 ' ,
` step_authority_id ` varchar ( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ' 可操作者角色 ' ,
` step_authority_id ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 可操作者角色 ' ,
` is_end ` tinyint ( 1 ) NULL DEFAULT NULL COMMENT ' 是否是结尾 ' ,
` sys_workflow_id ` int ( 10 ) UNSIGNED NULL DEFAULT NULL COMMENT ' 关联工作流id ' ,
PRIMARY KEY ( ` id ` ) USING BTREE ,
INDEX ` idx_workflow_step_infos_deleted_at ` ( ` deleted_at ` ) USING BTREE ,
INDEX ` idx_sys_workflow_step_infos_deleted_at ` ( ` deleted_at ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact ;
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Compact ;
-- ----------------------------
-- Table structure for sys_workflows
@ -801,12 +796,12 @@ CREATE TABLE `sys_workflows` (
` created_at ` datetime ( 0 ) NULL DEFAULT NULL ,
` updated_at ` datetime ( 0 ) NULL DEFAULT NULL ,
` deleted_at ` datetime ( 0 ) 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 ' 工作流描述 ' ,
` workflow_nick_name ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 工作流中文名称 ' ,
` workflow_name ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 工作流英文名称 ' ,
` workflow_description ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ' 工作流描述 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE ,
INDEX ` idx_sys_workflows_deleted_at ` ( ` deleted_at ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact ;
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Compact ;
-- ----------------------------
-- View structure for authority_menu