From 3741b7b386ff091c21317509c895c6bf611a5b56 Mon Sep 17 00:00:00 2001 From: Qiao Han Date: Thu, 4 Dec 2025 13:30:39 +0800 Subject: [PATCH] fix: suggest repair command after squash --- internal/migration/squash/squash.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/migration/squash/squash.go b/internal/migration/squash/squash.go index 1ba5c55a95..b2c1650af0 100644 --- a/internal/migration/squash/squash.go +++ b/internal/migration/squash/squash.go @@ -40,6 +40,7 @@ func Run(ctx context.Context, version string, config pgconn.Config, fsys afero.F } // 2. Update migration history if utils.IsLocalDatabase(config) { + utils.CmdSuggestion = fmt.Sprintf("Run %s to update your remote migration history table.", utils.Aqua("supabase migration repair --status applied")) return nil } if shouldUpdate, err := utils.NewConsole().PromptYesNo(ctx, "Update remote migration history table?", true); err != nil {