mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 02:15:31 +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:
@ -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?
|
||||
|
Reference in New Issue
Block a user