Questions

ProgrammingError at /learn/ relation “learn_subject” does not exist LINE 1: SELECT COUNT(*) AS “__count” FROM “learn_subject”

0

I am getting this error after pushing my code to heroku.

error.png



asked 2 years, 1 month ago
Reputation: 1





1 Answer

0

The error was coming because I forgot to migrate the database changes after pushing my code to github.

Solution

Just perform the migrate command on heroku and it should work fine.

heroku run python manage.py migrate

Thanks !!!

answered 2 years, 1 month ago
Reputation: 1





Your Answer

Nothing to preview

Post Answer



Asked:  2 years, 1 month ago
Viewed:  1161 times
Active:  2 years, 1 month ago