!561 fix:修复新建租户时由于data_scope_dept_ids为空值,产生的错误导致插入不成功。

Merge pull request !561 from 天天写BUG/master
This commit is contained in:
芋道源码 2023-08-11 11:04:32 +00:00 committed by Gitee
commit 4d0873374f
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, "code" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
"sort" int4 NOT NULL, "sort" int4 NOT NULL,
"data_scope" int2 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, "status" int2 NOT NULL,
"type" int2 NOT NULL, "type" int2 NOT NULL,
"remark" varchar(500) COLLATE "pg_catalog"."default", "remark" varchar(500) COLLATE "pg_catalog"."default",