【8.0】修改本地配置

dev-8.1.9
fengshuonan 2023-07-11 20:59:54 +08:00
parent 9067dd7091
commit 1b286fb393
2 changed files with 4 additions and 9 deletions

View File

@ -2,15 +2,10 @@
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://192.168.31.221:3306/guns?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&nullCatalogMeansCurrent=true
url: jdbc:mysql://localhost:3306/guns?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&nullCatalogMeansCurrent=true
username: root
password: root
password: 123456
# 连接池大小根据实际情况调整
max-active: 100
max-pool-prepared-statement-per-connection-size: 100
devops:
serverHost: http://192.168.31.58:12909
project-unique-code: Y4JdNfsfS2tjAQouFm1t035IAnsjSKG3
project-interaction-secret-key: QBAttyH2ZkolwtkDcn0Y5b8HLGHEtOHC

View File

@ -23,7 +23,7 @@ spring:
serialization:
indent_output: false
flyway:
enabled: false
enabled: true
locations: classpath:db/migration/mysql
# 当迁移时发现目标schema非空而且带有没有元数据的表时是否自动执行基准迁移
baseline-on-migrate: true