I accidentally deleted my migrations. I later makemigrations and migrate but when I access certain parts of the app that have ForeignKey references, I get cursor "_django_curs_1696_sync_2" does not exist. How on earth would I go about getting this corrected. This is happening in development and so I fear pushing to production because the same error will arise.?
I tried looking at similar questions but couldn't get one to help solve my problem.