mirror of
https://github.com/201206030/novel.git
synced 2025-04-27 07:30:50 +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:
|
threads:
|
||||||
virtual:
|
virtual:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
# initialize the schema history table
|
||||||
|
flyway:
|
||||||
|
baseline-on-migrate: true
|
||||||
server:
|
server:
|
||||||
# 端口号
|
# 端口号
|
||||||
port: 8888
|
port: 8888
|
||||||
|
Loading…
x
Reference in New Issue
Block a user