summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2009-10-08 15:50:37 +0200
committerMatthias Benkard <code@mail.matthias.benkard.de>2009-10-08 15:50:37 +0200
commitc29b58cde1e2ff51594e15886b58ca04d17d8b6e (patch)
tree4eb82e1790c4bf2712f4746b397c6a2c21b22ef5
parent28c73ca74250aa95438f6ae88dcde759df225336 (diff)
Update database schema for support of different kinds of journal entries.
Ignore-this: d815788d40b9d931cd96e2c8148f9887 darcs-hash:c74eb42a2a923cfe0ea80d34823dc37ad6d648c3
-rw-r--r--journal-content.lisp5
1 files changed, 5 insertions, 0 deletions
diff --git a/journal-content.lisp b/journal-content.lisp
index 7a92c62..3d286b3 100644
--- a/journal-content.lisp
+++ b/journal-content.lisp
@@ -52,6 +52,11 @@
:accessor body-of
:initarg :body
:initform "")
+ (type :type string
+ :db-constraints :not-null
+ :accessor entry-type-of
+ :initarg :type
+ :initform "markdown")
(categories :db-kind :join
:db-constraints :not-null
:accessor categories-of