update sql/postgresql/ruoyi-vue-pro.sql.
fix:修复创建新租户,由于data_scope_dept_ids设置的是 not null 但是是空值时候产生错误,插入失败 Signed-off-by: 天天写BUG <decan_zheng@foxmail.com>
This commit is contained in:
parent
105f1a2707
commit
f221f58973
@ -5552,7 +5552,7 @@ CREATE TABLE "system_role"
|
||||
"code" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
|
||||
"sort" int4 NOT NULL,
|
||||
"data_scope" int2 NOT NULL,
|
||||
"data_scope_dept_ids" varchar(500) COLLATE "pg_catalog"."default" NOT NULL,
|
||||
"data_scope_dept_ids" varchar(500) COLLATE "pg_catalog"."default" NOT NULL DEFAULT '',
|
||||
"status" int2 NOT NULL,
|
||||
"type" int2 NOT NULL,
|
||||
"remark" varchar(500) COLLATE "pg_catalog"."default",
|
||||
|
Loading…
Reference in New Issue
Block a user