1
0

feat: 数据库更改为postgres

This commit is contained in:
2025-09-07 11:06:15 +08:00
parent 440d67c5e7
commit 610dc3578f
4 changed files with 47 additions and 3 deletions

View File

@@ -9,18 +9,31 @@ spring:
async:
request-timeout: 3600000
datasource:
url: jdbc:mysql://mysql.lanyuanxiaoyao.com:43780/leopard?useSSL=false
# url: jdbc:mysql://mysql.lanyuanxiaoyao.com:43780/leopard?useSSL=false
# url: jdbc:mysql://192.168.31.127:3780/leopard?useSSL=false
url: jdbc:postgresql://192.168.31.127:6785/leopard
username: leopard
password: '9NEzFzovnddf@PyEP?e*AYAWnCyd7UhYwQK$pJf>7?ccFiN^x4$eKEZ5~E<7<+~X'
driver-class-name: com.mysql.cj.jdbc.Driver
# driver-class-name: com.mysql.cj.jdbc.Driver
driver-class-name: org.postgresql.Driver
jpa:
generate-ddl: true
properties:
hibernate:
dialect: org.hibernate.dialect.PostgresPlusDialect
quartz:
wait-for-jobs-to-complete-on-shutdown: true
startup-delay: 30s
job-store-type: jdbc
jdbc:
platform: mysql
# platform: mysql
platform: postgres
# initialize-schema: always
properties:
org:
quartz:
jobStore:
driverDelegateClass: org.quartz.impl.jdbcjobstore.PostgreSQLDelegate
fenix:
print-banner: false
liteflow: