Let's say that I have a script called schema.sql which is used to allocate a new SQLite db with my desired schema.
If this script contains PRAGMA journal_mode = 'wal'; before any DML, is the database continually set to WAL mode? Or is journal mode something that needs to be configured on each connection/command?