Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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.
- spring.datasource.url=jdbc:mysql://localhost:3306/schema_name
- spring.datasource.username=user
- spring.datasource.password=pass
- spring.jpa.hibernate.ddl-auto=update
- <dependency>
- <groupId>org.flywaydb</groupId>
- <artifactId>flyway-core</artifactId>
- <version>${flyway.version}</version>
- </dependency>
Add Comment
Please, Sign In to add comment