Fix CI
This commit is contained in:
parent
85cdb9bbd7
commit
5ffe8a2324
1 changed files with 1 additions and 0 deletions
|
@ -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'
|
||||
|
|
Reference in a new issue