feat(db): add M2 schema — play_sessions, play_events, skip_events

Tables and indexes per spec §5. session_vector_at_play ships nullable
so M3 doesn't need a follow-up migration. Table is named play_sessions
to avoid collision with the existing sessions (HTTP auth) table from
migration 0004.
This commit is contained in:
2026-04-25 20:45:44 -04:00
parent 7df48ee9bc
commit 4fcf2c9616
4 changed files with 352 additions and 0 deletions
@@ -0,0 +1,3 @@
DROP TABLE IF EXISTS skip_events;
DROP TABLE IF EXISTS play_events;
DROP TABLE IF EXISTS play_sessions;