-
Notifications
You must be signed in to change notification settings - Fork 38
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
Composite unique index also marks a column unique=true #255
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example DDL:
Output:
It correctly identifies the composite uniques in alter.uniques. But for the individual columns, they also show "unique: true". I believe that's incorrect since there would be no way to know if the column itself has a non-composite unique index.
Looks like it's been recently fixed here: #236. Maybe the ALTER TABLE ... ADD CONSTRAINT UNQIUE were missed out there?
The text was updated successfully, but these errors were encountered: