Support upgrading from old migration table name (#889)

This commit is contained in:
Todd Knight authored and GitHub committed 2021-01-28 14:30:08 -07:00
1 parent 3461dcbd0c
commit 955ae41215
10 files changed
+489 -161

No files matched your search

+1 -1
View File
@@ -260,7 +260,7 @@ func (c *InitCommand) Run(args []string) (retCode int) {
return 1
}
clean, errCode := migrateDatabase(c.Context, c.UI, dialect, migrationUrl)
clean, errCode := migrateDatabase(c.Context, c.UI, dialect, migrationUrl, true)
defer clean()
if errCode != 0 {
return errCode