-
Notifications
You must be signed in to change notification settings - Fork 19
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
Syntax Error arises when NOT NULL and FOREIGN KEY exist in the same column #35
Comments
@atsukiwi hi! thanks for reporting the issue, I will work on fix for it |
sorry that it is take so much time - fix was released in version 0.12.0 - https://pypi.org/project/omymodels/ if will be any new issues - feel free to open the new ticket |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When a column is set as NOT NULL and a foreign key is added,
Positional argument cannot appear after keyword arguments
error arises inmodels.py
.To Reproduce
Steps to reproduce the behavior:
Create
database.sql
.Following
models.py
is produced aftercreate_models
.Expected behavior
In
models.py
, the last sentence should be like following.The text was updated successfully, but these errors were encountered: