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.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web87

  • via GitHub by ashtripathi
    , 10 months ago
    Found non-empty schema "MYWEBAPP" without metadata table! Use baseline() or set baselineOnMigrate to true to initialize the metadata table.
  • Found non-empty schema "PUBLIC" without metadata table! Use baseline() or set baselineOnMigrate to true to initialize the metadata table.
  • Found non-empty schema "bnr" without metadata table! Use baseline() or set baselineOnMigrate to true to initialize the metadata table.
  • Stack trace

    • 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    2 times, 1 year ago
    Once, 6 months ago
    29 times, 7 months ago
    Unknown user
    2 times, 10 months ago
    Unknown user
    Once, 1 year ago