diff options
author | colin <colin@cicadas.surf> | 2024-09-05 02:09:25 -0700 |
---|---|---|
committer | colin <colin@cicadas.surf> | 2024-09-05 02:09:25 -0700 |
commit | 5dec1239c83252a43eb5875328239b1eb594ffe5 (patch) | |
tree | 47a8ecadd196a2f0e606afd38b350da18d55da43 | |
parent | 487ff51fb44e0d43182c17d3ada8e9d2c2a16bc3 (diff) |
-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.") |