Update User model

This commit is contained in:
Daniel Supernault 2019-09-05 23:12:23 -06:00
parent b13392f683
commit 86b41dbb32
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

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