branch: externals/org-gnosis
commit bb781d674f3628587978751247dd44a9b0651026
Author: Thanos Apollo <[email protected]>
Commit: Thanos Apollo <[email protected]>
db: Restracture journal schema
---
org-gnosis.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/org-gnosis.el b/org-gnosis.el
index eaeaa57266..6afab9af0b 100644
--- a/org-gnosis.el
+++ b/org-gnosis.el
@@ -340,7 +340,8 @@ Removes all contents of FILE in database, adding them anew."
([(tag-name text :primary-key)]))
(journal
([(id :not-null :primary-key)
- (title text)
+ (file :not-null)
+ (date text)
tags]))
;; (node-tags
;; ([(node-id :not-null)
@@ -350,7 +351,6 @@ Removes all contents of FILE in database, adding them anew."
(links
([(source text)
(dest text)]
- ;; (:unique (source dest))
(:foreign-key [source] :references nodes [id] :on-delete :cascade)
))))