summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-07-23 18:39:36 +0300
committerThanos Apollo <[email protected]>2024-07-23 18:39:36 +0300
commitd3ec1ab2ca0c3bec8a14626968a50b58a6dac0d9 (patch)
treeadc501777ed77697561f525b7d57f9bb81f4e2c3 /gnosis.el
parent58b0ece3a027969a097ea7bd6381429e9ad361b9 (diff)
db: Rewrite schema for activity-log
* Rename note-num -> reviewed-total * Add reviewed-new: Hold value of new notes reviewed for date entry.
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnosis.el b/gnosis.el
index e3dad4b..ed45621 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -2114,7 +2114,8 @@ to improve readability."
:on-delete :cascade)))
(defvar gnosis-db-schema-activity-log '([(date text :not-null)
- (note-num integer :not-null)]))
+ (reviewed-total integer :not-null)
+ (reviewed-new integer :not-null)]))
(defvar gnosis-db-schema-extras '([(id integer :primary-key :not-null)
(extra-notes string)