Skip to content

Commit c6fd252

Browse files
Merge pull request #5 from KowalskiPiotr98/invalid-migration-application
Increment currently applied migration on loop
2 parents 5ace488 + 6b04acc commit c6fd252

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

migrations/runner.go

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ func Migrate(connector database.Connector, fileProvider MigrationFileProvider) e
4646
if err != nil {
4747
return err
4848
}
49+
currentMigration++
4950
}
5051
return nil
5152
}

0 commit comments

Comments
 (0)