Skip to content

skip rename prompts during push --force#5460

Open
masad-frost wants to merge 2 commits intodrizzle-team:mainfrom
masad-frost:fm-push-actually-force
Open

skip rename prompts during push --force#5460
masad-frost wants to merge 2 commits intodrizzle-team:mainfrom
masad-frost:fm-push-actually-force

Conversation

@masad-frost
Copy link

The --force flag was only suppressing data-loss and strict confirmation prompts but not the rename-resolution prompts (tables, columns, schemas, enums, sequences, views, policies, roles). This meant push --force would still block on interactive input when the schema diff had ambiguous renames. Thread the force flag through prepare*Push into the prompt functions so they early-return with delete-and-create instead of prompting.

The --force flag was only suppressing data-loss and strict confirmation
prompts but not the rename-resolution prompts (tables, columns, schemas,
enums, sequences, views, policies, roles). This meant push --force would
still block on interactive input when the schema diff had ambiguous
renames. Thread the force flag through prepare*Push into the prompt
functions so they early-return with delete-and-create instead of
prompting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant