diff --git a/app/Models/Setting/Setting.php b/app/Models/Setting/Setting.php index b80df4cb0..fee0d913c 100644 --- a/app/Models/Setting/Setting.php +++ b/app/Models/Setting/Setting.php @@ -16,6 +16,13 @@ class Setting extends Eloquent public $timestamps = false; + /** + * Attributes that should be mass-assignable. + * + * @var array + */ + protected $fillable = ['company_id', 'key', 'value']; + /** * The "booted" method of the model. *