Merge pull request #1414 from basecamp/remove-summaries

Remove AI summaries and semantic searches
This commit is contained in:
Jorge Manrubia
2025-10-29 12:00:57 +01:00
committed by GitHub
45 changed files with 32 additions and 66474 deletions
@@ -1,16 +0,0 @@
#!/usr/bin/env ruby
require_relative "../config/environment"
WEEKS_TO_BACKFILL = 3
ActiveRecord::Base.logger = Logger.new(File::NULL)
ApplicationRecord.with_each_tenant do |tenant|
PeriodSummary.destroy_all
WEEKS_TO_BACKFILL.times do |index|
User.active.find_each do |user|
user.generate_weekly_summary(Time.current - index.weeks)
end
end
end