Added db:schema:load as a Dokku predeploy task
This commit is contained in:
parent
da340db03b
commit
92b72f5194
1 changed files with 1 additions and 1 deletions
2
app.json
2
app.json
|
|
@ -11,7 +11,7 @@
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dokku": {
|
"dokku": {
|
||||||
"predeploy": "bundle exec rake db:migrate"
|
"predeploy": "rake db:schema:load && bundle exec rake db:migrate"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue