Flyway: Found non-empty schema(s) “public” without schema history table! Use baseline() – on Empty database
Assuming that you are using spring-boot version 2. In spring boot 2 the prefix is “spring.flyway” so try adding prefix spring like below. spring.flyway.baseline-on-migrate = true OR spring.flyway.baselineOnMigrate = true