1
0
Fork 0
This commit is contained in:
Alex Kotov 2020-01-16 22:03:02 +05:00
parent 85cdb9bbd7
commit 5ffe8a2324
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -42,6 +42,7 @@ FileUtils.chdir APP_ROOT do
elsif travis
puts '== Preparing database =='
system! "psql -U #{postgres_user} -c 'CREATE DATABASE #{postgres_db};'"
system! 'bundle exec rails db:setup'
else
puts '== Updating database =='
system! 'bundle exec rails db:migrate'