Skip to content

Commit 7f1bb04

Browse files
authored
fix: suggest repair command after squash local (#4578)
fix: suggest repair command after squash
1 parent 95a6b77 commit 7f1bb04

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/migration/squash/squash.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ func Run(ctx context.Context, version string, config pgconn.Config, fsys afero.F
4040
}
4141
// 2. Update migration history
4242
if utils.IsLocalDatabase(config) {
43+
utils.CmdSuggestion = fmt.Sprintf("Run %s to update your remote migration history table.", utils.Aqua("supabase migration repair --status applied"))
4344
return nil
4445
}
4546
if shouldUpdate, err := utils.NewConsole().PromptYesNo(ctx, "Update remote migration history table?", true); err != nil {

0 commit comments

Comments
 (0)