fix(数据库脚本): 修复数据库脚本文件 v0.6.0 的错误问题

This commit is contained in:
konbai
2022-08-07 20:44:04 +08:00
parent 3360d413e5
commit 5fa93221b8
12 changed files with 8 additions and 67 deletions

View File

@@ -1092,7 +1092,7 @@ create table wf_deploy_form
node_key varchar(64) default ''::varchar,
node_name varchar(255) default ''::varchar,
content text,
constraint wf_deploy_form_pk primary key (deploy_id, form_key)
constraint wf_deploy_form_pk primary key (deploy_id, form_key, node_key)
);
comment on table wf_deploy_form is '流程实例关联表单';

View File

@@ -1,10 +0,0 @@
ALTER TABLE "sys_oss_config" ADD COLUMN "domain" varchar(255);
COMMENT ON COLUMN "sys_oss_config"."domain" IS '自定义域名';
update sys_oss_config set endpoint = '127.0.0.1:9000' where oss_config_id = 1;
update sys_oss_config set endpoint = 's3-cn-north-1.qiniucs.com', region = '' where oss_config_id = 2;
update sys_oss_config set endpoint = 'oss-cn-beijing.aliyuncs.com' where oss_config_id = 3;
update sys_oss_config set endpoint = 'cos.ap-beijing.myqcloud.com' where oss_config_id = 4;
insert into sys_oss_config values (5, 'image', 'ruoyi', 'ruoyi123', 'ruoyi', 'image', '127.0.0.1:9000', 'N', '', '1', '', 'admin', now(), 'admin', now(), NULL, '');

View File

@@ -0,0 +1 @@
由于 0.6.x 版本做了不兼容更新,在此不提供由 0.6.0 前版本升级的SQL脚本。