Database: - Add slug, roaster_slug, brew_data_json columns to timeline_events - Migration backfills existing data from related tables - Remove 9-way LEFT JOIN from list query, read directly from columns Frontend: - Use CSS :nth-of-type(odd/even) for alternating timeline layout - Remove JavaScript class manipulation when appending month events - Simplify infinite scroll month-merging logic This eliminates query-time JOINs across 5 tables and ~20 lines of client-side JavaScript for pattern maintenance. |
||
|---|---|---|
| .. | ||
| 0001_init.sql | ||
| 0002_auth.sql | ||
| 0003_sessions.sql | ||
| 0004_add_bags.sql | ||
| 0005_add_action_to_timeline.sql | ||
| 0006_add_gear.sql | ||
| 0007_update_timeline_constraint_for_gear.sql | ||
| 0008_remove_gear_notes.sql | ||
| 0009_add_brews.sql | ||
| 0010_denormalize_timeline.sql | ||