From f4bba1bc70194e8f5e2f86e90bd30253e1602531 Mon Sep 17 00:00:00 2001
From: EuAndreh <eu@euandre.org>
Date: Mon, 1 Dec 2025 21:07:48 -0300
Subject: etc/init.sql: Fix SQLite ACID semantics

---
 etc/init.sql | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'etc/init.sql')

diff --git a/etc/init.sql b/etc/init.sql
index 5c5ef49..713f298 100644
--- a/etc/init.sql
+++ b/etc/init.sql
@@ -1,6 +1,5 @@
-PRAGMA foreign_keys = ON;
 PRAGMA journal_mode = WAL;
-PRAGMA synchronous = NORMAL;
+PRAGMA synchronous = FULL;
 PRAGMA mmap_size = 134217728; -- 128 megabytes
 PRAGMA journal_size_limit = 67108864; -- 64 megabytes
 PRAGMA cache_size = 2000;
-- 
cgit v1.2.3

