From 68be7e3ea873690929ef5d2f7799ff6fbabb93fe Mon Sep 17 00:00:00 2001 From: Sojan Jose Date: Thu, 4 Jun 2020 23:13:10 +0530 Subject: [PATCH] Use db:prepare instead of db:migrate (#924) Use db:prepare instead of db:migrate Co-authored-by: Pranav Raj Sreepuram --- Procfile | 2 +- app.json | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Procfile b/Procfile index 34f447dda..73a131355 100644 --- a/Procfile +++ b/Procfile @@ -1,3 +1,3 @@ -release: bundle exec rake db:migrate +release: bundle exec rails db:prepare web: bin/rails server -p $PORT -e $RAILS_ENV worker: bundle exec sidekiq -C config/sidekiq.yml diff --git a/app.json b/app.json index 300f363db..679b7f974 100644 --- a/app.json +++ b/app.json @@ -12,9 +12,6 @@ "vue" ], "success_url": "/app/login", - "scripts": { - "postdeploy": "bundle exec rake db:schema:load && bundle exec rake db:seed" - }, "env": { "SECRET_TOKEN": { "description": "A secret key for verifying the integrity of signed cookies.",