diff options
Diffstat (limited to 'pastiche.lisp')
-rw-r--r-- | pastiche.lisp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pastiche.lisp b/pastiche.lisp index ae0a2d3..e5eaa90 100644 --- a/pastiche.lisp +++ b/pastiche.lisp @@ -112,9 +112,11 @@ E.g. you'd put this in a file. (def:class paste (db:store-object) ((title "A name for this paste. Used to generate file name on disk.") - (filename "Filename relative to CONFIG's PASTE-PATH") + :required + :type string) + ((filename "Filename relative to CONFIG's PASTE-PATH") + :required :type string - :initform (error "Missing required slot") :index-type bknr.indices:string-unique-index :index-reader lookup-paste) ((paste-time "The server-local timestamp when this was pasted.") |