======================================================================= Flyway and Liquibase, both enabled: the naive failure, then the fix ======================================================================= captured: 2026-09-15T07:07:11.366831858Z -- naive: both enabled, no other configuration -- context failed to start: FlywayException: Found non-empty schema(s) "PUBLIC" but no schema history table. Use baseline() or set baselineOnMigrate to true to initialize the schema history table. -- fixed: spring.flyway.baseline-on-migrate=true, spring.flyway.baseline-version=0 -- TABLE_NAME --------------------- CUSTOMER DATABASECHANGELOG DATABASECHANGELOGLOCK PRODUCT flyway_schema_history (5 rows) -- flyway_schema_history — baseline row at 0, then V1/V2 ran for real -- version | description | type | success --------+-------------------------------------------+----------+-------- NULL | << Flyway Schema History table created >> | TABLE | true 0 | << Flyway Baseline >> | BASELINE | true 1 | create customer | SQL | true 2 | seed customer | SQL | true (4 rows) -- databasechangelog — Liquibase's own bookkeeping, untouched by Flyway -- ID | AUTHOR | EXECTYPE -----------------+--------+--------- 1-create-product | ankurm | EXECUTED 2-seed-product | ankurm | EXECUTED (2 rows)