diff --git a/Procfile b/Procfile index 61fa54a..50be8a6 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