mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 08:57:10 -06:00
DEV: Silence successful db:migrate output in docker.rake (#24417)
Followup to 9449a0e0ed
This commit is contained in:
parent
9449a0e0ed
commit
849002e90b
@ -69,8 +69,12 @@ def migrate_databases(parallel: false, load_plugins: false)
|
||||
migrate_env = load_plugins ? "LOAD_PLUGINS=1" : "LOAD_PLUGINS=0"
|
||||
|
||||
success = true
|
||||
success &&= run_or_fail("#{migrate_env} bundle exec rake db:migrate")
|
||||
success &&= run_or_fail("#{migrate_env} bundle exec rake parallel:migrate") if parallel
|
||||
success &&=
|
||||
run_or_fail("#{migrate_env} script/silence_successful_output bundle exec rake db:migrate")
|
||||
success &&=
|
||||
run_or_fail(
|
||||
"#{migrate_env} script/silence_successful_output bundle exec rake parallel:migrate",
|
||||
) if parallel
|
||||
success
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user