I’m trying to deploy my django project to heroku, however, it’s not working particularly well.
When I try to make an account, everything works fine, and logging in is fine. Locally, everything works as intended. However, when I try to create a new model instance on heroku, it throws the following error:
ProgrammingError at /contracts/new/ column "completed" of relation "contracts_clientcontract" does not exist LINE 1: INSERT INTO "contracts_clientcontract" ("UUID", "completed",... ^
I tried the advice given at https://stackoverflow.com/questions/42613536/django-programming-error-column-does-not-exist-even-after-running-migrations but it didn’t work. So I tried removing migration history, and that didn’t work. So I made a version of the project that had no migrations at all and sent that to heroku, and then ran both
heroku run bash, and I still get the same error. I’m not sure what’s going on here…
Is it possible that because heroku uses postgres that I need to change the project’s settings to reflect that since it’s using sqlite3?
Can anyone point me in the right direction?