Why migrate on CI? Schema load.
This commit is contained in:
parent
9debec4410
commit
1cd9c4bd0f
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ namespace :cruise do
|
|||
end
|
||||
|
||||
task :migrate do
|
||||
system('bundle exec rake db:migrate')
|
||||
system('bundle exec rake db:schema:load')
|
||||
exit_status = $?.exitstatus
|
||||
raise "db:migrate failed!" unless exit_status == 0
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue