Add Notification Token
This commit is contained in:
@@ -84,4 +84,9 @@ class User extends Authenticatable
|
||||
{
|
||||
return $this->hasMany(Person::class, 'owner_user_id');
|
||||
}
|
||||
|
||||
public function notificationTokens()
|
||||
{
|
||||
return $this->morphMany(NotificationToken::class, 'notifiabletoken');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user