aboutsummaryrefslogtreecommitdiffstats
path: root/internal/commands/down.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/commands/down.go')
-rw-r--r--internal/commands/down.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/commands/down.go b/internal/commands/down.go
index f991c69..b537b17 100644
--- a/internal/commands/down.go
+++ b/internal/commands/down.go
@@ -61,7 +61,7 @@ func (cmd *DownCmd) Execute(
}
defer db.Close()
- migrationDBRepo, err := repositories.NewMigrationDBRepo(db)
+ migrationDBRepo, err := repositories.NewMigrationDBRepo(cfg.Connection.MigrationsTable, db)
if err != nil {
consoleOutputter.Error(err)
return subcommands.ExitFailure