ソースを参照

Update User model

Daniel Supernault 5 年 前
コミット
86b41dbb32
1 ファイル変更5 行追加0 行削除
  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;
+    }
+
 }