- Extract inline foreign_keys PRAGMA into shared applyPRAGMAs function - Add synchronous=NORMAL, cache_size=-8000, mmap_size=67108864 PRAGMAs - NewDB now calls applyPRAGMAs instead of inline PRAGMA exec - applyPRAGMAs will be reused by NewTestDB for production-mirroring tests