Add Notification Token

This commit is contained in:
R
2022-11-22 10:19:37 +07:00
parent 9a0032ae17
commit 05ae09ab4c
6 changed files with 223 additions and 0 deletions

View File

@@ -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');
}
}