org.flywaydb.core.api.FlywayException: Found non-empty schema "MYWEBAPP" without metadata table! Use baseline() or set baselineOnMigrate to true to initialize the metadata table.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by ashtripathi
, 1 year ago
Found non-empty schema "MYWEBAPP" without metadata table! Use baseline() or set baselineOnMigrate to true to initialize the metadata table.
via GitHub by mozzbozz
, 1 year ago
Found non-empty schema "PUBLIC" without metadata table! Use baseline() or set baselineOnMigrate to true to initialize the metadata table.
via GitHub by bearrito
, 9 months ago
Found non-empty schema "bnr" without metadata table! Use baseline() or set baselineOnMigrate to true to initialize the metadata table.
via GitHub by ceizner
, 1 year ago
Found non-empty schema `draios` without metadata table! Use baseline() or set baselineOnMigrate to true to initialize the metadata table.
via GitHub by praseodym
, 8 months ago
Found non-empty schema "public" without metadata table! Use baseline() or set baselineOnMigrate to true to initialize the metadata table.
via GitHub by liuduojia
, 4 months ago
Found non-empty schema `excord` without metadata table! Use baseline() or set baselineOnMigrate to true to initialize the metadata table.
org.flywaydb.core.api.FlywayException: Found non-empty schema "MYWEBAPP" without metadata table! Use baseline() or set baselineOnMigrate to true to initialize the metadata table.
at org.flywaydb.core.Flyway$1.execute(Flyway.java:943)
at org.flywaydb.core.Flyway$1.execute(Flyway.java:917)
at org.flywaydb.core.Flyway.execute(Flyway.java:1373)

Users with the same issue

Once, 2 months ago
Once, 1 year ago
29 times, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.