aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-11-21 07:33:23 -0600
committerColin Okay <colin@cicadas.surf>2022-11-21 07:33:23 -0600
commitccac6a95bb894edbfd8c21f55d83a4f077df7f4c (patch)
treedc6dca4cb0cc48779144a4ab039a17d83a184b62
parent464d127112b7e5c38db5c75b2c8f8fdea41f3f77 (diff)
Modify: index reader for user name is case insensitive
-rw-r--r--model.lisp3
1 files changed, 2 insertions, 1 deletions
diff --git a/model.lisp b/model.lisp
index 399d018..432eec7 100644
--- a/model.lisp
+++ b/model.lisp
@@ -12,7 +12,8 @@
(defclass/bknr user (keyed)
((name :with
:index-type string-unique-index
- :index-reader user-with-name)
+ :index-reader user-with-name
+ :index-initargs (:test 'equalp))
(playlists :with :std (list))
(pwsalt :with :std (nuid))
(pwhash :with)))