From 1adfd59a0e4356dc8c22d96b7b9fda6072bece79 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Sat, 24 Jan 2026 10:17:32 +0530 Subject: [PATCH] Added has push subscriptions in user model file --- app/Models/User.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Models/User.php b/app/Models/User.php index c7f57a9..0dbf673 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -13,11 +13,12 @@ use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use Spatie\Permission\Traits\HasRoles; use Illuminate\Database\Eloquent\Relations\BelongsTo; +use NotificationChannels\WebPush\HasPushSubscriptions; class User extends Authenticatable implements FilamentUser { /** @use HasFactory<\Database\Factories\UserFactory> */ - use HasFactory, HasRoles, Notifiable, SoftDeletes, HasSuperAdmin; + use HasFactory, HasRoles, Notifiable, SoftDeletes, HasSuperAdmin, HasPushSubscriptions; /** * The attributes that are mass assignable.