Files
fizzy/app/models/user/weekly_highlights.rb
T
Jorge Manrubia 3e67da7d0e Add a new join model to link summaries with users
So that changing the set of events does not result in not being able to find a generated highlight summary
2025-10-06 12:33:28 +02:00

7 lines
232 B
Ruby

# This acts as a join table between users and period_highlights so that we can reuse the
# same highlights for different users.
class User::WeeklyHighlights < ApplicationRecord
belongs_to :user
belongs_to :period_highlights
end