summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnosis.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnosis.el b/gnosis.el
index 0923422..16b1987 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -128,4 +128,14 @@ use it like this:
(gnosis-review 1)
(gnosis-mode)))
+(defun gnosis-init ()
+ "Create notes content table."
+ (gnosis--create-table 'notes '([(question_id integer :primary-key)
+ type
+ question
+ choices
+ answer
+ rev_log
+ rev_score])))
+
;;; gnosis.el ends here