mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-12-26 01:45:50 -05:00
improvement: enable auto_vacuum on database creation
This commit is contained in:
parent
c0b112c094
commit
b7c8737166
|
@ -29,6 +29,7 @@ const INIT_SQL: &str = formatcp!(
|
|||
-- Database settings
|
||||
PRAGMA encoding = "UTF-8";
|
||||
PRAGMA journal_mode=WAL;
|
||||
PRAGMA auto_vacuum = FULL;
|
||||
PRAGMA main.synchronous=NORMAL;
|
||||
PRAGMA foreign_keys = ON;
|
||||
PRAGMA application_id = 1654008667;
|
||||
|
|
Loading…
Reference in New Issue
Block a user