feat: add frontend dev container to docker-compose #7
@@ -21,6 +21,8 @@ public class FlywayConfig {
|
|||||||
Flyway flyway = Flyway.configure()
|
Flyway flyway = Flyway.configure()
|
||||||
.dataSource(dataSource)
|
.dataSource(dataSource)
|
||||||
.locations("classpath:db/migration")
|
.locations("classpath:db/migration")
|
||||||
|
.baselineOnMigrate(true)
|
||||||
|
.baselineVersion("4")
|
||||||
.load();
|
.load();
|
||||||
var result = flyway.migrate();
|
var result = flyway.migrate();
|
||||||
log.info("Flyway: {} migration(s) applied.", result.migrationsExecuted);
|
log.info("Flyway: {} migration(s) applied.", result.migrationsExecuted);
|
||||||
|
|||||||
Reference in New Issue
Block a user