diff options
| author | unwox <me@unwox.com> | 2025-05-05 23:37:44 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2025-05-05 23:37:44 +0600 |
| commit | 6f832146573fd98f5002ffb261f4a245ee27d643 (patch) | |
| tree | 3910d15bf726b6413aaaa732d8ab6feb54084f9d /bin/fetch.fnl | |
| parent | e29deb3f296b19ac7e7d6bd5facb4b0b53b3f50a (diff) | |
artoftea: finally fix the prices >:( [3]
Diffstat (limited to 'bin/fetch.fnl')
| -rw-r--r-- | bin/fetch.fnl | 4 |
1 files changed, 3 insertions, 1 deletions
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; |
