Skip to content

Commit

Permalink
specify the correct direction
Browse files Browse the repository at this point in the history
  • Loading branch information
peeperklip committed Feb 26, 2023
1 parent 15f8d3f commit 0c94ac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (mig migration) Down() {
}

func (mig migration) DownTo(downto string) {
mig.runSingleMigration(downto, "up")
mig.runSingleMigration(downto, "down")
}

func (mig migration) getRanMigrations() []string {
Expand Down

0 comments on commit 0c94ac1

Please sign in to comment.