-
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
Issues parsing AUTOINCREMENT together with NOT NULL statement #170
Comments
@devxor I just released version 0.29.0 with fix. Try it! Test added here https://github.com/xnuinside/simple-ddl-parser/blob/main/tests/test_simple_ddl_parser.py#L3121 thanks for opening the issue & feel free to open new one if needed anything more |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When there is
NOT NULL
statement beforeAUTOINCREMENT
statement the parser is not returning results.To Reproduce
Expected behavior
Results parsed correctly.
**Question:
When I will remove
NOT NULL
in the above example, it will be parsed, however the type of the column will be displayed asNUMBERAUTOINCREMENT
. Is it correct? Should not be onlyNUMBER
and AUTOINCREMENT as a separate flag or so?The text was updated successfully, but these errors were encountered: