diff --git a/db-file/1.2.0 升 1.2.1/SQL文件.txt b/db-file/1.2.0 升 1.2.1/SQL文件.txt new file mode 100644 index 0000000..31ecb2c --- /dev/null +++ b/db-file/1.2.0 升 1.2.1/SQL文件.txt @@ -0,0 +1,4 @@ +ALTER TABLE `opsli-boot`.`creater_table_column` +MODIFY COLUMN `field_length` int(11) NULL DEFAULT NULL COMMENT '字段长度' AFTER `field_type`, +MODIFY COLUMN `field_precision` int(11) NULL DEFAULT NULL COMMENT '字段精度' AFTER `field_length`, +MODIFY COLUMN `sort` int(6) NOT NULL COMMENT '排序(升序)' AFTER `dict_type_code`; diff --git a/db-file/opsli-boot.sql b/db-file/opsli-boot.sql index 6a1cc9d..d132674 100644 --- a/db-file/opsli-boot.sql +++ b/db-file/opsli-boot.sql @@ -11,7 +11,7 @@ Target Server Version : 80018 File Encoding : 65001 - Date: 18/01/2021 18:40:52 + Date: 27/01/2021 23:37:25 */ SET NAMES utf8mb4; @@ -86,8 +86,8 @@ CREATE TABLE `creater_table_column` ( `table_id` bigint(19) NOT NULL COMMENT '归属表ID', `field_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段名称', `field_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段类型', - `field_length` smallint(6) DEFAULT NULL COMMENT '字段长度', - `field_precision` smallint(6) DEFAULT NULL COMMENT '字段精度', + `field_length` int(11) DEFAULT NULL COMMENT '字段长度', + `field_precision` int(11) DEFAULT NULL COMMENT '字段精度', `field_comments` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段描述', `iz_pk` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否主键', `iz_not_null` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否可为空', @@ -97,7 +97,7 @@ CREATE TABLE `creater_table_column` ( `java_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'Java数据类型', `show_type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '字段生成方案(文本框、文本域、下拉框、复选框、单选框、字典选择、人员选择、部门选择、区域选择)', `dict_type_code` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '字典类型', - `sort` smallint(6) NOT NULL COMMENT '排序(升序)', + `sort` int(6) NOT NULL COMMENT '排序(升序)', `validate_type` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '验证类别', `version` int(11) NOT NULL COMMENT '版本(乐观锁)', `create_by` bigint(19) NOT NULL COMMENT '创建用户', @@ -5292,6 +5292,7 @@ INSERT INTO `sys_menu` VALUES (1340626895356321793, 1340626549594677250, 'gentes INSERT INTO `sys_menu` VALUES (1340626939119689729, 1340626549594677250, 'gentest_carinfo_delete', '删除', '', '2', NULL, NULL, NULL, 4, '0', '0', 1, 1313694379541635074, '2020-12-20 19:55:45', 1313694379541635074, '2020-12-20 20:22:00'); INSERT INTO `sys_menu` VALUES (1340626988251766786, 1340626549594677250, 'gentest_carinfo_import', '导入', '', '2', NULL, NULL, NULL, 5, '0', '0', 1, 1313694379541635074, '2020-12-20 19:55:56', 1313694379541635074, '2020-12-20 20:22:16'); INSERT INTO `sys_menu` VALUES (1340627032942075906, 1340626549594677250, 'gentest_carinfo_export', '导出', '', '2', NULL, NULL, NULL, 6, '0', '0', 2, 1313694379541635074, '2020-12-20 19:56:07', 1313694379541635074, '2020-12-20 20:22:22'); +INSERT INTO `sys_menu` VALUES (1343078836526391297, 3, 'system_user_resetPassword', '重置密码', '', '2', NULL, NULL, NULL, 8, '0', '0', 1, 1313694379541635074, '2020-12-27 14:18:42', 1, '2020-12-27 14:40:50'); INSERT INTO `sys_menu` VALUES (1351012936860155906, 1314610817013919745, 'devops_sysmonitor', '系统监控', '', '1', 'sysmonitor', 'views/modules/sys/monitorManagement/index', NULL, 1, '0', '0', 1, 1313694379541635074, '2021-01-18 11:45:59', 1313694379541635074, '2021-01-18 11:47:15'); INSERT INTO `sys_menu` VALUES (1351013587816136705, 1351012936860155906, 'devops_sysmonitor_select', '查看', '', '2', NULL, NULL, NULL, 1, '0', '0', 0, 1, '2021-01-18 11:48:35', 1, '2021-01-18 11:48:35'); COMMIT;