From f0da7e3e9441921ef2f6b42a8aa81491eadbb85f Mon Sep 17 00:00:00 2001 From: Marc Jauvin Date: Thu, 25 Apr 2024 07:58:54 -0400 Subject: [PATCH] add missing fillable property --- models/Locale.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/models/Locale.php b/models/Locale.php index 57647b8..de34a9f 100644 --- a/models/Locale.php +++ b/models/Locale.php @@ -31,6 +31,15 @@ class Locale extends Model 'name' => 'required', ]; + /** + * @var array Attributes that are mass assignable + */ + public $fillable = [ + 'code', + 'name', + 'is_enabled', + ]; + public $timestamps = false; /**