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 1 year, 11 months 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 1 year, 11 months ago
Reputation: 1





Your Answer

Nothing to preview

Post Answer



Asked:  1 year, 11 months ago
Viewed:  955 times
Active:  1 year, 11 months ago