Rename highlights -> summary

This commit is contained in:
Jorge Manrubia
2025-10-25 20:01:17 +02:00
parent d6c7fb2084
commit 392bdae316
32 changed files with 1251 additions and 21847 deletions
@@ -7,10 +7,10 @@ WEEKS_TO_BACKFILL = 3
ActiveRecord::Base.logger = Logger.new(File::NULL)
ApplicationRecord.with_each_tenant do |tenant|
PeriodHighlights.destroy_all
PeriodSummary.destroy_all
WEEKS_TO_BACKFILL.times do |index|
User.active.find_each do |user|
user.generate_weekly_highlights(Time.current - index.weeks)
user.generate_weekly_summary(Time.current - index.weeks)
end
end
end