From 6f832146573fd98f5002ffb261f4a245ee27d643 Mon Sep 17 00:00:00 2001 From: unwox Date: Mon, 5 May 2025 23:37:44 +0600 Subject: artoftea: finally fix the prices >:( [3] --- bin/fetch.fnl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/fetch.fnl b/bin/fetch.fnl index b8d1334..72d4c1f 100644 --- a/bin/fetch.fnl +++ b/bin/fetch.fnl @@ -25,7 +25,9 @@ (when _G.unpack (tset table :unpack _G.unpack)) -(local db (must (luna.db.open "file:var/db.sqlite?_journal=WAL&_sync=NORMAL&_txlock=immediate"))) +(local db + (must (luna.db.open "file:var/db.sqlite?_journal=WAL&_sync=NORMAL&_txlock=immediate"))) + (must (luna.db.exec db " PRAGMA foreign_keys=ON; -- cgit v1.2.3