Skip to content

Add support for NOT VALID in constraint writer #649

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 1 commit into from
Feb 3, 2025

Conversation

kvch
Copy link
Contributor

@kvch kvch commented Feb 3, 2025

This PR adds support for creating not validated constraints in ALTER TABLE statements.
I am adding unit tests in a follow-up PR, when ConstraintSQLWriter is moved into a separate file.
Either way, it is not used anywhere yet to avoid conflicts with other FK related
changes in future PRs.

Extracted from #628

@kvch kvch requested a review from andrew-farries February 3, 2025 12:38
@kvch kvch force-pushed the feature-add-support-for-not-valid branch from 5fb887c to 7eac205 Compare February 3, 2025 12:39
@kvch kvch enabled auto-merge (squash) February 3, 2025 12:53
@kvch kvch merged commit f078a91 into xataio:main Feb 3, 2025
28 checks passed
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