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

Add UNIQUE constraints to pgroll's internal schema representation #242

Merged
merged 2 commits into from
Jan 18, 2024

Conversation

andrew-farries
Copy link
Collaborator

Add knowledge of UNIQUE constraints defined on a table to pgroll's internal schema representation.

UNIQUE constraints were already present as indexes, but this PR adds them as their own top-level field in the Table schema and includes information about the columns involved in the constraint.

Part of #105

Base automatically changed from add-check-constraints-to-schema to main January 18, 2024 12:06
@andrew-farries andrew-farries merged commit 994a1aa into main Jan 18, 2024
24 checks passed
@andrew-farries andrew-farries deleted the add-unique-constraints-to-schema branch January 18, 2024 12:08
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.

None yet

2 participants