mirror of
https://github.com/201206030/novel.git
synced 2025-04-26 23:20:51 +00:00
fix: 初始化 Flyway 历史表
org.flywaydb.core.api.FlywayException: Found non-empty schema(s) `novel_test` but no schema history table. Use baseline() or set baselineOnMigrate to true to initialize the schema history table.
This commit is contained in:
parent
b4ce4dd35d
commit
8da6f8263c
@ -20,6 +20,9 @@ spring:
|
||||
threads:
|
||||
virtual:
|
||||
enabled: true
|
||||
# initialize the schema history table
|
||||
flyway:
|
||||
baseline-on-migrate: true
|
||||
server:
|
||||
# 端口号
|
||||
port: 8888
|
||||
|
Loading…
x
Reference in New Issue
Block a user