Note: Don't do this on a production evniroment!
Get the heroku database name:
heroku pg:infoName can be found in the reponse from the command above. For example: Add-on: soaring-newly-1337.
Reset the database:
heroku pg:reset DATABASE_NAMERun the migrations:
heroku run MIX_ENV=prod mix ecto.migrateInsert the seed data:
heroku run MIX_ENV=prod mix run priv/repo/seeds.exsRestart the dynos:
heroku restartEnjoy!