sql注释规范化,否则某些软件执行时不识别会报错
This commit is contained in:
parent
502b692fee
commit
fe227e62cd
@ -1,4 +1,4 @@
|
|||||||
---- 升级 from V5.0.0 to V5.1.0:
|
-- -- 升级 from V5.0.0 to V5.1.0:
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- 第三方平台授权表
|
-- 第三方平台授权表
|
||||||
@ -58,7 +58,7 @@ UPDATE `sys_role` SET `tenant_id`=1 WHERE `tenant_id`=0;
|
|||||||
UPDATE `sys_social` SET `tenant_id`=1 WHERE `tenant_id`=0;
|
UPDATE `sys_social` SET `tenant_id`=1 WHERE `tenant_id`=0;
|
||||||
UPDATE `sys_user` SET `tenant_id`=1 WHERE `tenant_id`=0;
|
UPDATE `sys_user` SET `tenant_id`=1 WHERE `tenant_id`=0;
|
||||||
|
|
||||||
---- 升级 from V5.1.0 to V5.2.0:
|
-- -- 升级 from V5.1.0 to V5.2.0:
|
||||||
-- 修改数据库id_token字段宽度
|
-- 修改数据库id_token字段宽度
|
||||||
ALTER TABLE `sys_social`
|
ALTER TABLE `sys_social`
|
||||||
CHANGE COLUMN `id_token` `id_token` VARCHAR(2000) NULL DEFAULT NULL COMMENT 'id token,部分平台可能没有' COLLATE 'utf8mb4_bin' AFTER `token_type`;
|
CHANGE COLUMN `id_token` `id_token` VARCHAR(2000) NULL DEFAULT NULL COMMENT 'id token,部分平台可能没有' COLLATE 'utf8mb4_bin' AFTER `token_type`;
|
||||||
@ -73,5 +73,5 @@ insert into sys_menu values('130', 'EasyRetry控制台', '2', '6', 'easyret
|
|||||||
ALTER TABLE `mf_product` ADD COLUMN `ancestors` VARCHAR(760) NULL DEFAULT '' COMMENT '祖级列表' AFTER `parent_id`;
|
ALTER TABLE `mf_product` ADD COLUMN `ancestors` VARCHAR(760) NULL DEFAULT '' COMMENT '祖级列表' AFTER `parent_id`;
|
||||||
ALTER TABLE `demo_product` ADD COLUMN `ancestors` VARCHAR(760) NULL DEFAULT '' COMMENT '祖级列表' AFTER `parent_id`;
|
ALTER TABLE `demo_product` ADD COLUMN `ancestors` VARCHAR(760) NULL DEFAULT '' COMMENT '祖级列表' AFTER `parent_id`;
|
||||||
|
|
||||||
--增加edit_columns字段
|
-- 增加edit_columns字段
|
||||||
ALTER TABLE `gen_table` ADD COLUMN `edit_columns` TINYINT NULL DEFAULT 1 AFTER `remark`;
|
ALTER TABLE `gen_table` ADD COLUMN `edit_columns` TINYINT NULL DEFAULT 1 AFTER `remark`;
|
||||||
|
@ -27,7 +27,7 @@ ALTER TABLE `sys_tenant`
|
|||||||
ALTER TABLE `sys_user`
|
ALTER TABLE `sys_user`
|
||||||
CHANGE COLUMN `del_flag` `del_flag` SMALLINT NULL DEFAULT '0' COMMENT '删除标志(0代表存在 1代表删除)' COLLATE 'utf8mb4_bin' AFTER `status`;
|
CHANGE COLUMN `del_flag` `del_flag` SMALLINT NULL DEFAULT '0' COMMENT '删除标志(0代表存在 1代表删除)' COLLATE 'utf8mb4_bin' AFTER `status`;
|
||||||
|
|
||||||
---- 升级 from V4.2.0 to V5.0.0:
|
-- -- 升级 from V4.2.0 to V5.0.0:
|
||||||
-- 修正“任务调度”的“任务管理”错误:
|
-- 修正“任务调度”的“任务管理”错误:
|
||||||
UPDATE `pj_job_info` SET `processor_info`='com.ruoyi.job.processors.StandaloneProcessorDemo' WHERE `id`=1;
|
UPDATE `pj_job_info` SET `processor_info`='com.ruoyi.job.processors.StandaloneProcessorDemo' WHERE `id`=1;
|
||||||
UPDATE `pj_job_info` SET `processor_info`='com.ruoyi.job.processors.BroadcastProcessorDemo' WHERE `id`=2;
|
UPDATE `pj_job_info` SET `processor_info`='com.ruoyi.job.processors.BroadcastProcessorDemo' WHERE `id`=2;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
---- 升级 from V5.0.0 to V5.1.0:
|
-- -- 升级 from V5.0.0 to V5.1.0:
|
||||||
|
|
||||||
-- 修正修改PostgreSQL数据库结构:由integer修改为text类型:
|
-- 修正修改PostgreSQL数据库结构:由integer修改为text类型:
|
||||||
ALTER TABLE "pj_instance_info"
|
ALTER TABLE "pj_instance_info"
|
||||||
@ -116,7 +116,7 @@ UPDATE "public"."sys_role" SET "tenant_id"=1 WHERE "tenant_id"=0;
|
|||||||
UPDATE "public"."sys_social" SET "tenant_id"=1 WHERE "tenant_id"=0;
|
UPDATE "public"."sys_social" SET "tenant_id"=1 WHERE "tenant_id"=0;
|
||||||
UPDATE "public"."sys_user" SET "tenant_id"=1 WHERE "tenant_id"=0;
|
UPDATE "public"."sys_user" SET "tenant_id"=1 WHERE "tenant_id"=0;
|
||||||
|
|
||||||
---- 升级 from V5.1.0 to V5.2.0:
|
-- -- 升级 from V5.1.0 to V5.2.0:
|
||||||
-- 修改数据库id_token字段宽度
|
-- 修改数据库id_token字段宽度
|
||||||
ALTER TABLE "sys_social"
|
ALTER TABLE "sys_social"
|
||||||
ALTER COLUMN "id_token" TYPE VARCHAR(2000),
|
ALTER COLUMN "id_token" TYPE VARCHAR(2000),
|
||||||
@ -134,6 +134,6 @@ insert into sys_menu values('130', 'EasyRetry控制台', '2', '6', 'easyret
|
|||||||
ALTER TABLE "mf_product" ADD "ancestors" VARCHAR(760) NULL;
|
ALTER TABLE "mf_product" ADD "ancestors" VARCHAR(760) NULL;
|
||||||
COMMENT ON COLUMN "mf_product"."ancestors" IS '祖级列表';
|
COMMENT ON COLUMN "mf_product"."ancestors" IS '祖级列表';
|
||||||
|
|
||||||
--增加edit_columns字段
|
-- 增加edit_columns字段
|
||||||
ALTER TABLE "gen_table" ADD "edit_columns" SMALLINT NULL DEFAULT '1';
|
ALTER TABLE "gen_table" ADD "edit_columns" SMALLINT NULL DEFAULT '1';
|
||||||
COMMENT ON COLUMN "gen_table"."edit_columns" IS '编辑列数';
|
COMMENT ON COLUMN "gen_table"."edit_columns" IS '编辑列数';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
---- 升级 from V4.2.0 to V5.0.0:
|
-- -- 升级 from V4.2.0 to V5.0.0:
|
||||||
-- 修正“任务调度”的“任务管理”错误:
|
-- 修正“任务调度”的“任务管理”错误:
|
||||||
UPDATE "public"."pj_job_info" SET "alarm_config"='{"alertThreshold":0,"silenceWindowLen":0,"statisticWindowLen":0}', "log_config"='{"type":1}', "processor_info"='com.ruoyi.job.processors.StandaloneProcessorDemo' WHERE "id"=1;
|
UPDATE "public"."pj_job_info" SET "alarm_config"='{"alertThreshold":0,"silenceWindowLen":0,"statisticWindowLen":0}', "log_config"='{"type":1}', "processor_info"='com.ruoyi.job.processors.StandaloneProcessorDemo' WHERE "id"=1;
|
||||||
UPDATE "public"."pj_job_info" SET "alarm_config"='{"alertThreshold":0,"silenceWindowLen":0,"statisticWindowLen":0}', "log_config"='{"type":1}', "processor_info"='com.ruoyi.job.processors.BroadcastProcessorDemo' WHERE "id"=2;
|
UPDATE "public"."pj_job_info" SET "alarm_config"='{"alertThreshold":0,"silenceWindowLen":0,"statisticWindowLen":0}', "log_config"='{"type":1}', "processor_info"='com.ruoyi.job.processors.BroadcastProcessorDemo' WHERE "id"=2;
|
||||||
|
Loading…
Reference in New Issue
Block a user