added guarded properties
This commit is contained in:
@@ -32,6 +32,13 @@ class Event extends Model
|
|||||||
'ages',
|
'ages',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The attributes that are not mass assignable.
|
||||||
|
*
|
||||||
|
* @var array<string>
|
||||||
|
*/
|
||||||
|
protected $guarded = ['id'];
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get all of the post's attachments.
|
* Get all of the post's attachments.
|
||||||
|
|||||||
Reference in New Issue
Block a user