Skip to content

Commit

Permalink
Fix #2986: create the schema history table when using skipExecutingMi…
Browse files Browse the repository at this point in the history
…grations without baseline
  • Loading branch information
DoodleBobBuffPants committed Oct 26, 2020
1 parent 555b2b9 commit 0e6fd62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flyway-core/src/main/java/org/flywaydb/core/Flyway.java
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public MigrateResult execute(MigrationResolver migrationResolver,
}
}

if (!nonEmptySchemas.isEmpty()) {
if (!nonEmptySchemas.isEmpty() && !configuration.isSkipExecutingMigrations()) {
if (configuration.isBaselineOnMigrate()) {
doBaseline(schemaHistory, callbackExecutor, database);
} else {
Expand Down

0 comments on commit 0e6fd62

Please sign in to comment.