diff --git a/Procfile b/Procfile index 61fa54ae..50be8a61 100644 --- a/Procfile +++ b/Procfile @@ -1,3 +1,3 @@ -migrate: bundle exec rake db:setup db:migrate db:seed +migrate: if test -f data/production.sqlite3; then bundle exec rake db:migrate db:seed ; else bundle exec rake db:setup ; fi sutty: bundle exec puma -d config.ru sidekiq: bundle exec sidekiq -t 1