From 143bff909a5dc642201a95e9bf46588fc036f60a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=B5=E5=91=B5=E5=A4=A7?= <2222671+geekrim@user.noreply.gitee.com> Date: Sat, 10 Jun 2023 03:57:47 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BD=BF=E7=94=A8PG=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E6=97=B6,=E7=AB=99=E5=86=85=E4=BF=A1?= =?UTF-8?q?=E8=A1=A8=E3=80=81=E8=8F=9C=E5=8D=95=E6=9D=83=E9=99=90=E8=A1=A8?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E7=B1=BB=E5=9E=8B=E4=B8=8D=E4=B8=80=E8=87=B4?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20=E5=9C=A8`NotifyMessageDO`=E5=AE=9E?= =?UTF-8?q?=E4=BD=93=E7=B1=BB=E4=B8=AD`read=5Fstatus`=E6=98=AF=E5=B8=83?= =?UTF-8?q?=E5=B0=94=E7=B1=BB=E5=9E=8B=EF=BC=8C=E5=9B=A0=E6=AD=A4=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E4=B8=AD=E4=B9=9F=E8=A6=81=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E4=B8=BA=20`bool`=20=E7=B1=BB=E5=9E=8B=EF=BC=8C=E5=90=A6?= =?UTF-8?q?=E5=88=99=E6=9F=A5=E8=AF=A2=E6=8A=A5=E9=94=99=E3=80=82=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E6=9D=83=E9=99=90=E8=A1=A8`system=5Fmenu`=E8=A1=A8?= =?UTF-8?q?=E5=90=8C=E7=90=86=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sql/postgresql/ruoyi-vue-pro.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/postgresql/ruoyi-vue-pro.sql b/sql/postgresql/ruoyi-vue-pro.sql index c9cafc642..d66d6fcb5 100644 --- a/sql/postgresql/ruoyi-vue-pro.sql +++ b/sql/postgresql/ruoyi-vue-pro.sql @@ -2607,7 +2607,7 @@ CREATE TABLE "system_menu" ( "update_time" timestamp(6) NOT NULL, "deleted" int2 NOT NULL DEFAULT 0, "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'; @@ -4239,7 +4239,7 @@ CREATE TABLE "system_notify_message" ( "template_content" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL, "template_type" int4 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), "creator" varchar(64) COLLATE "pg_catalog"."default", "create_time" timestamp(6) NOT NULL,