0

I have a Postgre SQL database in Heroku. I've had some problems. I needed to delete some local migration files and create brand new schema migration files (which worked) that had all migrations included.

A relationship from this new schema migration file already existed in my Heroku database and when I try to migrate I get this error:

django.db.utils.DatabaseError: relation "quizzer_speaker" already exists

How can I make Heroku actually do the migration? Or how can I make it go to a previous version where that relation didn't exist, so I can just migrate without problems?

Chris Travers
  • 25,424
  • 6
  • 65
  • 182
Sascuash
  • 3,661
  • 10
  • 46
  • 65

0 Answers0