improvement: enable auto_vacuum on database creation

This commit is contained in:
Greg Heartsfield 2023-01-03 06:22:43 -06:00
parent c0b112c094
commit b7c8737166

View File

@ -29,6 +29,7 @@ const INIT_SQL: &str = formatcp!(
-- Database settings -- Database settings
PRAGMA encoding = "UTF-8"; PRAGMA encoding = "UTF-8";
PRAGMA journal_mode=WAL; PRAGMA journal_mode=WAL;
PRAGMA auto_vacuum = FULL;
PRAGMA main.synchronous=NORMAL; PRAGMA main.synchronous=NORMAL;
PRAGMA foreign_keys = ON; PRAGMA foreign_keys = ON;
PRAGMA application_id = 1654008667; PRAGMA application_id = 1654008667;