From 9aa4b2cfdda74b57082a10e0fe5a13c2f13af3c3 Mon Sep 17 00:00:00 2001 From: Aiwendil Date: Mon, 17 Nov 2025 07:04:32 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=BC=E5=AE=B9=E6=9C=AA=E5=BC=80?= =?UTF-8?q?=E5=90=AF=20SSL=20=E7=9A=84=E9=AB=98=E7=89=88=E6=9C=AC=20pgsql?= =?UTF-8?q?=20*=20pgsql=E7=B4=A2=E5=BC=95=E4=B8=8D=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E9=87=8D=E5=90=8D=20*=20=E5=85=BC=E5=AE=B9=E6=9C=AA=E5=BC=80?= =?UTF-8?q?=E5=90=AFssl=E7=9A=84=E9=AB=98=E7=89=88=E6=9C=ACpg=EF=BC=8C?= =?UTF-8?q?=E4=BD=8E=E7=89=88=E6=9C=AC=E4=BC=9A=E5=9B=A0=E4=B8=BA=E4=B8=8D?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E8=87=AA=E5=8A=A8=E6=97=A0=E8=A7=86=EF=BC=8C?= =?UTF-8?q?=E9=AB=98=E7=89=88=E6=9C=AC=E4=BC=9A=E6=A0=B9=E6=8D=AE=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E5=BC=80=E5=90=AFssl=E8=87=AA=E5=B7=B1=E9=80=82?= =?UTF-8?q?=E9=85=8D=EF=BC=88=E6=B5=8B=E8=AF=95=E7=89=88=E6=9C=AC=20?= =?UTF-8?q?=E4=BD=8E=E7=89=88=E6=9C=AC11.5=20=E9=AB=98=E7=89=88=E6=9C=AC16?= =?UTF-8?q?.4=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- continew-server/src/main/resources/config/application-dev.yml | 2 +- continew-server/src/main/resources/config/application-prod.yml | 2 +- .../resources/db/changelog/postgresql/plugin/plugin_tenant.sql | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/continew-server/src/main/resources/config/application-dev.yml b/continew-server/src/main/resources/config/application-dev.yml index 6a5ad094..3e3b84e3 100644 --- a/continew-server/src/main/resources/config/application-dev.yml +++ b/continew-server/src/main/resources/config/application-dev.yml @@ -17,7 +17,7 @@ spring.datasource: password: ${DB_PWD:123456} driver-class-name: com.p6spy.engine.spy.P6SpyDriver # # PostgreSQL 配置 - # url: jdbc:p6spy:postgresql://${DB_HOST:127.0.0.1}:${DB_PORT:5432}/${DB_NAME:continew_admin}?options=-c%20TimeZone=Asia/Shanghai&sslmode=prefer&channelBinding=require&stringtype=unspecified + # url: jdbc:p6spy:postgresql://${DB_HOST:127.0.0.1}:${DB_PORT:5432}/${DB_NAME:continew_admin}?options=-c%20TimeZone=Asia/Shanghai&sslmode=prefer&channelBinding=prefer&stringtype=unspecified # username: ${DB_USER:postgres} # password: ${DB_PWD:123456} # driver-class-name: com.p6spy.engine.spy.P6SpyDriver diff --git a/continew-server/src/main/resources/config/application-prod.yml b/continew-server/src/main/resources/config/application-prod.yml index 27548891..94f0fd7c 100644 --- a/continew-server/src/main/resources/config/application-prod.yml +++ b/continew-server/src/main/resources/config/application-prod.yml @@ -19,7 +19,7 @@ spring.datasource: password: ${DB_PWD:123456} driver-class-name: com.mysql.cj.jdbc.Driver # # PostgreSQL 配置 - # url: jdbc:postgresql://${DB_HOST:127.0.0.1}:${DB_PORT:5432}/${DB_NAME:continew_admin}?options=-c%20TimeZone=Asia/Shanghai&sslmode=prefer&channelBinding=require&stringtype=unspecified + # url: jdbc:postgresql://${DB_HOST:127.0.0.1}:${DB_PORT:5432}/${DB_NAME:continew_admin}?options=-c%20TimeZone=Asia/Shanghai&sslmode=prefer&channelBinding=prefer&stringtype=unspecified # username: ${DB_USER:postgres} # password: ${DB_PWD:123456} # driver-class-name: org.postgresql.Driver diff --git a/continew-server/src/main/resources/db/changelog/postgresql/plugin/plugin_tenant.sql b/continew-server/src/main/resources/db/changelog/postgresql/plugin/plugin_tenant.sql index 17f83025..6f716e38 100644 --- a/continew-server/src/main/resources/db/changelog/postgresql/plugin/plugin_tenant.sql +++ b/continew-server/src/main/resources/db/changelog/postgresql/plugin/plugin_tenant.sql @@ -60,7 +60,7 @@ CREATE TABLE IF NOT EXISTS "tenant_package" ( ); CREATE INDEX "idx_tenant_package_create_user" ON "tenant_package" ("create_user"); CREATE INDEX "idx_tenant_package_update_user" ON "tenant_package" ("update_user"); -CREATE INDEX "idx_tenant_deleted" ON "tenant_package" ("deleted"); +CREATE INDEX "idx_tenant_package_deleted" ON "tenant_package" ("deleted"); COMMENT ON COLUMN "tenant_package"."id" IS 'ID'; COMMENT ON COLUMN "tenant_package"."name" IS '名称'; COMMENT ON COLUMN "tenant_package"."sort" IS '排序';