N.B. This buildpack is not intended for production use.
Heroku buildpack to run Django migrations on every deploy. This works well with Heroku's automatic deployments where you can push to your Git
develop branch, for example, and have the changes automatically deployed to a staging app (w/o having to worry about database migrations).
heroku buildpacks:set https://github.com/heroku/heroku-buildpack-python
heroku buildpacks:add https://github.com/andreipetre/heroku-buildpack-django-migrate
Now whenever you push to your Heroku app, it will run
python manage.py migrate as part of the build process.
Copy the snippet above into CLI.