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 support for UNIQUE constraint #387

Merged
merged 2 commits into from
Apr 13, 2021
Merged

Add support for UNIQUE constraint #387

merged 2 commits into from
Apr 13, 2021

Conversation

asdine
Copy link
Collaborator

@asdine asdine commented Apr 13, 2021

This adds support for the UNIQUE field constraint and table constraint

CREATE TABLE foo (a INT UNIQUE);
CREATE TABLE foo (a INT, UNIQUE (b));

@asdine asdine added this to the v0.12.0 milestone Apr 13, 2021
@asdine asdine merged commit 7d3e769 into main Apr 13, 2021
@asdine asdine deleted the unique-constraint branch April 13, 2021 07: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.

1 participant