diff options
author | Thanos Apollo <[email protected]> | 2024-11-21 05:18:36 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-11-21 05:18:36 +0200 |
commit | bb781d674f3628587978751247dd44a9b0651026 (patch) | |
tree | c2f6a71e432d61f8ce5a5f708c21fbcd77a8b297 | |
parent | ff2332d87a5d022286ad209a8b04291b010ad561 (diff) |
db: Restracture journal schema
-rw-r--r-- | org-gnosis.el | 4 |
1 files 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) )))) |