From 92b72f519432f46574c796be983703a0c81e5b6b Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Sun, 21 Jul 2024 11:40:36 +0200 Subject: [PATCH] Added db:schema:load as a Dokku predeploy task --- app.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.json b/app.json index 343725d..f2dd657 100644 --- a/app.json +++ b/app.json @@ -11,7 +11,7 @@ ], "scripts": { "dokku": { - "predeploy": "bundle exec rake db:migrate" + "predeploy": "rake db:schema:load && bundle exec rake db:migrate" } } }