© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•16mo ago•
3 replies
Silvan

How to set PRAMGA for Sqlite

Really not sure how this would be done here. Some of them are permanent but some need to be set on every connection. in my example something like:

PRAGMA foreign_keys = ON;
PRAGMA journal_mode = WAL;
PRAGMA synchronous = NORMAL;
PRAGMA mmap_size = 134217728;
PRAGMA journal_size_limit = 67108864;
PRAGMA cache_size = -2000;

Where would i set these?
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How to set a default timestamp_ms for sqlite
Drizzle TeamDTDrizzle Team / help
3y ago
How to set timestamp for `created_at` in Drizzle on SQLite?
Drizzle TeamDTDrizzle Team / help
2y ago
How to init sqlite project?
Drizzle TeamDTDrizzle Team / help
2y ago
Unable to generate migration for sqlite
Drizzle TeamDTDrizzle Team / help
3y ago