               :db.type/long
               :db/doc "db/id of the user")
 
+   ;; TODO: switch cust-ref to cust
+   (attribute :access-request/cust-ref
+              :db.type/ref
+              :db/doc "cust that this request belongs to")
+
    (attribute :access-request/create-date
               :db.type/instant
               :db/doc "date request was created")

              :db/index true
              :db/doc "db/id of the document")

   (attribute :access-grant/email
              :db.type/string
              :db/doc "email that was granted access"

              :db.type/long
              :db/doc "db/id of this layer's parent. Could be called \"parent\", but want to avoid confusion with \"child\", which is taken.")

   (attribute :layer/document
              :db.type/ref
              :db/doc "Document that the layer belongs to")

   ;; No logins at the moment, so we'll use this to identify users
   ;; chats rely on this, is it a good idea? Nice to have something stable across tabs
   (attribute :session/uuid
