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:
天天写BUG 2023-08-09 15:29:09 +00:00 committed by Gitee
parent 105f1a2707
commit f221f58973
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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",