openreader/drizzle
Richard R bedbbb026a feat(db): add foreign keys and cascade deletes
Enforce referential integrity by linking application tables to the auth user table across both PostgreSQL and SQLite schemas.

- Add foreign key references with ON DELETE CASCADE to all user-owned tables.
- Re-generate initial migrations for Postgres and SQLite providers.
- Update migration script to ensure the SQLite database directory exists.
- Remove explicit SSL configuration from the PostgreSQL connection pool.
2026-02-15 13:02:42 -07:00
..
postgres feat(db): add foreign keys and cascade deletes 2026-02-15 13:02:42 -07:00
scripts feat(db): add foreign keys and cascade deletes 2026-02-15 13:02:42 -07:00
sqlite feat(db): add foreign keys and cascade deletes 2026-02-15 13:02:42 -07:00