mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 12:52:45 +08:00
DEV: reduce noise in logs regarding migration
If a migration performs no changes it should not output stuff. Previously we would output information about seeds which was very noisy. On multisite this was particularly bad
This commit is contained in:
parent
452d0c868f
commit
f062ebf274
|
@ -75,13 +75,11 @@ task 'db:migrate' => ['load_config', 'environment', 'set_locale'] do |_, args|
|
|||
Rake::Task['db:_dump'].invoke
|
||||
end
|
||||
|
||||
SeedFu.quiet = true
|
||||
SeedFu.seed(DiscoursePluginRegistry.seed_paths)
|
||||
|
||||
if !Discourse.skip_post_deployment_migrations? && ENV['SKIP_OPTIMIZE_ICONS'] != '1'
|
||||
puts
|
||||
print "Optimizing site icons... "
|
||||
SiteIconManager.ensure_optimized!
|
||||
puts "Done"
|
||||
end
|
||||
|
||||
if !Discourse.is_parallel_test? && MultisiteTestHelpers.load_multisite?
|
||||
|
|
Loading…
Reference in New Issue
Block a user