!505 修复使用PG数据库时,站内信表、菜单权限表字段类型不一致问题

Merge pull request !505 from 呵呵大/N/A
This commit is contained in:
芋道源码 2023-06-17 04:31:22 +00:00 committed by Gitee
commit 281590c48e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2607,7 +2607,7 @@ CREATE TABLE "system_menu" (
"update_time" timestamp(6) NOT NULL, "update_time" timestamp(6) NOT NULL,
"deleted" int2 NOT NULL DEFAULT 0, "deleted" int2 NOT NULL DEFAULT 0,
"component_name" varchar(255) COLLATE "pg_catalog"."default", "component_name" varchar(255) COLLATE "pg_catalog"."default",
"always_show" char(1) COLLATE "pg_catalog"."default" "always_show" bool NOT NULL DEFAULT false
) )
; ;
COMMENT ON COLUMN "system_menu"."id" IS '菜单ID'; COMMENT ON COLUMN "system_menu"."id" IS '菜单ID';
@ -4239,7 +4239,7 @@ CREATE TABLE "system_notify_message" (
"template_content" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL, "template_content" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
"template_type" int4 NOT NULL, "template_type" int4 NOT NULL,
"template_params" varchar(255) COLLATE "pg_catalog"."default" NOT NULL, "template_params" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
"read_status" varchar(1) COLLATE "pg_catalog"."default" NOT NULL, "read_status" bool NOT NULL DEFAULT false,
"read_time" timestamp(6), "read_time" timestamp(6),
"creator" varchar(64) COLLATE "pg_catalog"."default", "creator" varchar(64) COLLATE "pg_catalog"."default",
"create_time" timestamp(6) NOT NULL, "create_time" timestamp(6) NOT NULL,