- Add `PRAGMA foreign_keys = ON` to db.ts — without this, all ON DELETE CASCADE constraints across 7 tables are silently ignored (SQLite disables foreign keys by default) - Add migration 015 with indexes on hot query paths: notifications(read_at), notifications(recipient, read_at), activities(actor), activities(entity_type, entity_id), messages(read_at) |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| lib | ||
| store | ||
| test | ||
| types | ||
| index.ts | ||
| live-feed.tsx | ||
| nav-rail.tsx | ||
| page.tsx | ||