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

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)