mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-10-07 07:10:10 +09:00
74bdbb0764
The composite index doesn't serve everything the room_id one did. In SQLite that index is (room_id, rowid), so it also reads a room's messages in id order, and it is the narrower one to count a room with. Keeping both, as memberships already does, leaves those lookups as they were. The migration was named after local time, two hours ahead of the UTC timestamp Rails generates; it now carries a UTC one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NuTtwJKhb77Dv7EQqv2C3C