Commit Graph

2 Commits

Author SHA1 Message Date
5a652e9a65 fix(backend): add composite index on user_sources
Add (user_id, enabled) index for the enabled() query path.

Co-authored-by: Ona <no-reply@ona.com>
2026-03-16 01:25:10 +00:00
b813f27f0a feat(backend): add DB persistence layer
Replace raw pg Pool with Drizzle ORM backed by Bun.sql.
Add per-user source configuration table (user_sources).
Migrate Better Auth to drizzle-adapter.
Add AES-256-GCM credential encryption.

Co-authored-by: Ona <no-reply@ona.com>
2026-03-16 01:19:26 +00:00