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?