Explorar o código

Update User model

Daniel Supernault %!s(int64=5) %!d(string=hai) anos
pai
achega
86b41dbb32
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      app/User.php

+ 5 - 0
app/User.php

@@ -78,4 +78,9 @@ class User extends Authenticatable
         return $this->hasMany(UserDevice::class);
     }
 
+    public function storageUsedKey()
+    {
+        return 'profile:storage:used:' . $this->id;
+    }
+
 }