Django.db.utils.ProgrammingError: column app_table.field does not exist

I have a django app which is already in production. I added some new tables and new fields to existing tables and all went well in the feature branch, but when I merged it with the main branch then i got the following error: django.db.utils.ProgrammingError: column appname_table.field does not exist.

I have tried deleting migrations, running fake migrations and a lot of other stuff but it doesn't work out. It might be possible to delete database on local but not in production because already there is user data.

Back to Top