[Django]-Using South migrations with Heroku

6👍

✅

it seems you already have the fields in your database for that app. try faking the migrations by running

heroku run python manage.py migrate app --fake

1👍

do this on Heroku:

heroku run python manage.py migrate YOUR_APP_NAME 0001 –fake

then

heroku run python manage.py migrate YOUR_APP

that solved it for me. Just running migrate would give errors as for some reason south would try to run the initial migration as well. So I faked that one, and running the first actual migration (0002) worked fine after.

Leave a comment