-
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
ALTER Constraint UNIQUE must be showed in column also #101
Labels
Comments
problem was in ALTER TABLE ONLY (only was not supported) |
Merged
fixed in 0.23.0 release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue was reported here: #99
This is a big help. It parses without throwing an exception now! I think there's still room for improvement in understanding the meaning of the Postgres schema. For example, the DDL contains
ALTER TABLE ONLY public.accounts ADD CONSTRAINT accounts_username_key UNIQUE (username);
But in the parsed output, we see:
{'name': 'username',
'type': 'character varying',
'size': 50,
'references': None,
'unique': False, <======= should be True?
'nullable': False,
'default': None,
'check': None},
But the bug I reported is fixed, so closing this issue.
The text was updated successfully, but these errors were encountered: