summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-12-31 06:15:45 +0200
committerThanos Apollo <[email protected]>2023-12-31 06:32:13 +0200
commit3e4248c7b6f1b2d045dde9024f9fcba9df00b5a0 (patch)
treee47cc3d393f77c6958d6a17f42bcc05524d2f306 /gnosis.el
parent2023b37b1ea8ceba532c60cf280542b0e2e17e46 (diff)
Redo gnosis-dev.el
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnosis.el b/gnosis.el
index 4e7b577..a0bfc9d 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -822,6 +822,7 @@ Used to reveal all clozes left with `gnosis-face-cloze-unanswered' face."
(unless (length= (emacsql gnosis-db [:select name :from sqlite-master :where (= type table)]) 6)
;; Enable foreign keys
(emacsql gnosis-db "PRAGMA foreign_keys = ON")
+ ;; Gnosis version
(emacsql gnosis-db (format "PRAGMA user_version = %s" gnosis-db-version))
;; Create decks table
(gnosis--create-table 'decks gnosis-db-schema-decks)