Skip to content
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

Handle unconvertible CREATE TABLE column defintions #548

Merged
merged 3 commits into from
Dec 18, 2024

Conversation

andrew-farries
Copy link
Collaborator

Column definitions in CREATE TABLE statements offer several options, most of which aren't currently representable by pgroll Column definitions.

Add tests and code to ensure that CREATE TABLE statements containing columns that use any of these unrepresentable options fall back to raw SQL operations.

Part of #504

@andrew-farries andrew-farries marked this pull request as ready for review December 18, 2024 09:56
Base automatically changed from more-unconvertible-create-table to main December 18, 2024 10:59
Column storage options are not representable by `pgroll` `Column`
definitions.
Column compression options are not representable by `pgroll` `Column`
definitions.
Column collation options are not representable by `pgroll` `Column`
definitions.
@andrew-farries andrew-farries force-pushed the handle-unconvertible-column-defs branch from ecb7433 to 3d33a39 Compare December 18, 2024 11:00
@andrew-farries andrew-farries merged commit d507dbe into main Dec 18, 2024
28 checks passed
@andrew-farries andrew-farries deleted the handle-unconvertible-column-defs branch December 18, 2024 11:03
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