Guest User

Untitled

a guest
Feb 5th, 2019
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Found non-empty schema `schema_name` without metadata table! Use baseline() or set baselineOnMigrate to true to initialize the metadata table.
  2.  
  3. spring.datasource.url=jdbc:mysql://localhost:3306/schema_name
  4. spring.datasource.username=user
  5. spring.datasource.password=pass
  6. spring.jpa.hibernate.ddl-auto=update
  7.  
  8. <dependency>
  9. <groupId>org.flywaydb</groupId>
  10. <artifactId>flyway-core</artifactId>
  11. <version>${flyway.version}</version>
  12. </dependency>
Add Comment
Please, Sign In to add comment