From 86b41dbb32059d41a92c97d8bb904faa46649274 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 5 Sep 2019 23:12:23 -0600 Subject: [PATCH] Update User model --- app/User.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/User.php b/app/User.php index 0db0bf7ca..896ad12d6 100644 --- a/app/User.php +++ b/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; + } + }