763ad23e

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Enable PRAGMA foreign_keys so REFERENCES clauses are enforced (#171)

SQLite ignores foreign key constraints by default. Without this pragma,
the REFERENCES clauses on magic_login_tokens and auth_sessions are
silently skipped.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/171

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 0s 2s 2s 3s 0s
Eval 3s 43s 43s 47s 0s
Build 6s 1m25s 35s 41s 0s
Suite 0s 2m12s 46s 47s 0s

Timeline

0s10s20s30s40s