django makemigrations and migrate on heroku server don’t create tables

I had a similar problem.

I just ssh into heroku dyno with:
heroku run bash ( from your heroku application folder ofc )

Than run all the migration and makemigration commands with createsuperuser if needed.
Works with sqlite and postgre for me.

Leave a Comment