fix(cli): persist new migrations on Windows (CLI-2183) - #6192
Merged
avallete merged 1 commit intoAug 14, 2026
Merged
Conversation
Contributor
Supabase CLI previewnpx --yes https://pkg.pr.new/supabase/cli/supabase@1f3623705534a76a5e9aefc69b98b2a473aa98aePreview package for commit |
avallete
enabled auto-merge
August 14, 2026 08:45
avallete
approved these changes
Aug 14, 2026
avallete
deleted the
7ttp/cli-2183-windows-migration-new-reports-success-but-creates-no-file-in
branch
August 14, 2026 08:52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TL;DR
Ensure
supabase migration newcreates the migration file before reporting success, including on affected Windows environments...The command now explicitly creates or truncates the migration before streaming piped input,
following the existing
db dumpanddb pullpattern.it also kinda verifies that the file exists before emitting success..
Ref