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

EmailAddress Model contains a field named like a reserved SQL word (primary) #287

Open
rafahsolis opened this issue Apr 19, 2018 · 1 comment

Comments

@rafahsolis
Copy link

Hello,
There is a field named with a reserved SQL word, PRIMARY, this was a problem for us when dumping our database and loading it again, we had to escape the output.
https://www.postgresql.org/docs/8.1/static/sql-keywords-appendix.html

Suggestion: rename field to is_primary

@shashwat1002
Copy link

#298 , this should do.

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

No branches or pull requests

2 participants