From 8e1d57d0dd69faa66280f3a7ba2ed93d7dee00db Mon Sep 17 00:00:00 2001 From: nemsia Date: Wed, 13 Jun 2018 11:30:51 +0200 Subject: [PATCH] db:migrate on install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 90a8dfc..22abeff 100644 --- a/scripts/install +++ b/scripts/install @@ -222,7 +222,7 @@ sed -i "s@#SMTP_OPENSSL_VERIFY_MODE=peer@SMTP_OPENSSL_VERIFY_MODE=none@g" "${fin $final_path/live/bin/bundle install -j$(getconf _NPROCESSORS_ONLN) --deployment --without development test --quiet yarn install --production --no-progress --non-interactive --silent echo "SAFETY_ASSURED=1">> .env.production - RAILS_ENV=production $final_path/live/bin/bundle exec rails db:setup --quiet + RAILS_ENV=production $final_path/live/bin/bundle exec rails db:migrate --quiet RAILS_ENV=production $final_path/live/bin/bundle exec rails assets:precompile --quiet INSTALL )