Files
fizzy/db/migrate/20250905101432_remove_dates_from_period_highlights.rb
T
Jorge Manrubia aad61b36bc Generate highlights in the user timezone, now that we persist it
Also, remove the dates and duration from the highlights records. Those are not relevant, only the events-derived
key is. If two users with different timezones have different activities, they should see different summaries.
2025-09-05 12:39:09 +02:00

7 lines
189 B
Ruby

class RemoveDatesFromPeriodHighlights < ActiveRecord::Migration[8.1]
def change
remove_column :period_highlights, :starts_at
remove_column :period_highlights, :duration
end
end