8000 Add support for `alter_table` change type operations in multi-operation migrations by andrew-farries · Pull Request #661 · xataio/pgroll · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add support for alter_table change type operations in multi-operation migrations #661

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 7, 2025

Conversation

andrew-farries
Copy link
Collaborator

Ensure that multi-operation migrations combining alter_column operations that change column type work in combination with other operations.

Add testcases for:

  • rename table, change column type
  • rename table, rename column, change column type

Previously these migrations would fail as the alter_column operation was unaware of the renames made by the preceding operation.

Part of #239

@andrew-farries andrew-farries merged commit 5b42f80 into main Feb 7, 2025
28 checks passed
@andrew-farries andrew-farries deleted the support-multi-op-change-type branch February 7, 2025 12:42
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.

2 participants
0