Browse Source

Update User model

Daniel Supernault 5 years ago
parent
commit
86b41dbb32
1 changed files with 5 additions and 0 deletions
  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;
+    }
+
 }