diff --git a/app/Models/Event.php b/app/Models/Event.php index 3924235..c280797 100644 --- a/app/Models/Event.php +++ b/app/Models/Event.php @@ -32,6 +32,13 @@ class Event extends Model 'ages', ]; + /** + * The attributes that are not mass assignable. + * + * @var array + */ + protected $guarded = ['id']; + /** * Get all of the post's attachments.