Commit graph

2 commits

Author SHA1 Message Date
51efccd3b1 db: drop redundant user_id index on email_sends
The composite ix_email_sends_user_kind_sent (user_id, kind, sent_at)
already satisfies leftmost-prefix WHERE user_id=? lookups on both
MariaDB and SQLite, so the standalone per-column index was dead
weight. Drop it before the migration ever lands in prod.
2026-05-25 22:55:33 +02:00
454df3ee0f db: add digest opt-in/tone on users, email_sends audit table
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-25 22:53:00 +02:00