diff options
Diffstat (limited to 'model.lisp')
-rw-r--r-- | model.lisp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -77,6 +77,9 @@ :documentation "Salt for this hero's password hash.")) (:metaclass db:persistent-class)) +(defun all-heroes () + (db:store-objects-with-class 'hero)) + ;; TODO expiration? (defclass session (db:store-object) ((hero :reader session-hero |