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.

GitHub | ashtripathi | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Database concurrency issues

    GitHub | 7 months ago | ashtripathi
    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.

    1 unregistered visitors

    Root Cause Analysis

    1. 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()
    2. ${project.artifactId}
      Flyway.execute
      1. org.flywaydb.core.Flyway$1.execute(Flyway.java:943)
      2. org.flywaydb.core.Flyway$1.execute(Flyway.java:917)
      3. org.flywaydb.core.Flyway.execute(Flyway.java:1373)
      3 frames