mirror of https://gitee.com/stylefeng/guns
【8.0】修改本地配置
parent
9067dd7091
commit
1b286fb393
|
@ -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
|
||||
max-pool-prepared-statement-per-connection-size: 100
|
|
@ -23,7 +23,7 @@ spring:
|
|||
serialization:
|
||||
indent_output: false
|
||||
flyway:
|
||||
enabled: false
|
||||
enabled: true
|
||||
locations: classpath:db/migration/mysql
|
||||
# 当迁移时发现目标schema非空,而且带有没有元数据的表时,是否自动执行基准迁移
|
||||
baseline-on-migrate: true
|
||||
|
|
Loading…
Reference in New Issue