add user_id attribut on Notifications table

This commit is contained in:
2026-03-09 16:53:38 +01:00
parent e720c6c5dd
commit 9986dfa956
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -8,6 +8,7 @@ class Notification extends Model
{
protected $fillable = [
'content',
'user_id',
];
public function users(): \Illuminate\Database\Eloquent\Relations\BelongsToMany