From bb781d674f3628587978751247dd44a9b0651026 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Thu, 21 Nov 2024 05:18:36 +0200 Subject: 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 eaeaa57..6afab9a 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) )))) -- cgit v1.2.3