openreader/drizzle/scripts
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
..
generate.mjs Refactor authentication schema and database handling 2026-02-15 12:49:23 -07:00
migrate.mjs feat(db): add foreign keys and cascade deletes 2026-02-15 13:02:42 -07:00