-
Notifications
You must be signed in to change notification settings - Fork 56
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
Adding new Journey returns internal server error #219
Comments
But Can you share the steps to reproduce? I tried w/ both |
@tapasweni-pathak I can confirm that it isn't working.
|
@jarifibrahim I did it again and it is working for me, Adding screenshots so keep track and if anyone sees anything visible |
@tapasweni-pathak You have migration 0003 for main. Mirgration
|
gotcha 👍. What are your thoughts on Heroku not having this issue? |
Steps to reproduce
python manage.py migrate
Reason for failure - Server returns
IntegrityError - NOT NULL constraint failed: main_journey.description
Explanation -
Take a look at 0002_journey.py file. The file represents a model which contains
description
field, while the actual model has no description field.To fix the issue - Run
python manage.py makemigrations
and commit the new migration file.The text was updated successfully, but these errors were encountered: