mirror of
https://gitee.com/novel_dev_team/novel
synced 2026-07-20 17:52:45 +08: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:
@@ -20,6 +20,9 @@ spring:
|
|||||||
threads:
|
threads:
|
||||||
virtual:
|
virtual:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
# initialize the schema history table
|
||||||
|
flyway:
|
||||||
|
baseline-on-migrate: true
|
||||||
server:
|
server:
|
||||||
# 端口号
|
# 端口号
|
||||||
port: 8888
|
port: 8888
|
||||||
|
|||||||
Reference in New Issue
Block a user