iens

Manager of links to read
git clone https://git.instinctive.eu/iens.git
Log | Files | Refs | README | LICENSE

commit 3fc427157e3fd3e64bcea2aebb950061370505b7
parent 47dc57b6fa665d15d5818ca4361ed5d4aeafac27
Author: Natasha Kerensikova <natgh@instinctive.eu>
Date:   Thu,  8 Feb 2024 21:32:19 +0000

Schema creation statements are no longer cached
Diffstat:
Msrc/iens.scm | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/iens.scm b/src/iens.scm @@ -116,7 +116,7 @@ (when (null? (schema db)) (write-line (conc "Initializing database with schema v" schema-version)) (for-each - (lambda (s) (exec (sql db s))) + (lambda (s) (exec (sql/transient db s))) (list "CREATE TABLE config (key TEXT PRIMARY KEY, val);" (conc "INSERT INTO config(key, val) VALUES " "('schema-version'," schema-version ");")