From 5dec1239c83252a43eb5875328239b1eb594ffe5 Mon Sep 17 00:00:00 2001 From: colin Date: Thu, 5 Sep 2024 02:09:25 -0700 Subject: Fix: two index readers with the same name --- pastiche.lisp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pastiche.lisp') 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.") -- cgit v1.2.3