Found non-empty schema(s) `XXX` but no schema history table. Use baseline() or set baselineOnMigrate

Found non-empty schema(s) XXX but no schema history table. Use baseline() or set baselineOnMigrate to true to initialize the schema history table.

发现非空模式(年代)’ XXX '但没有模式历史记录表。使用baseline()或设置baselineOnMigrate为true来初始化模式历史表。


解决方案1
spring:
	flyway:
	    enabled: true
	    baseline-on-migrate: true
	    clean-on-validation-error: true

你可能感兴趣的:(bug笔记,java,spring,boot,mysql)