Migrate the database in app.json before seeding it

This commit is contained in:
Rémi Prévost 2018-04-09 10:17:46 -04:00 committed by Simon Prévost
parent 249b15790b
commit 9569ec1fa4

View File

@ -12,7 +12,7 @@
"logo": "https://raw.githubusercontent.com/mirego/accent/master/logo.svg",
"success_url": "/",
"scripts": {
"postdeploy": "mix run ./priv/repo/seeds.exs"
"postdeploy": "mix do ecto.migrate, run ./priv/repo/seeds.exs"
},
"addons": [
{