summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
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)