Make the meta model fillable

This commit is contained in:
James Brooks
2017-06-13 19:34:31 +01:00
parent 507ae3e4ed
commit 27e390ec17

View File

@@ -36,6 +36,18 @@ class Meta extends Model
'meta_type' => 'string',
];
/**
* The fillable properties.
*
* @var string[]
*/
protected $fillable = [
'key',
'value',
'meta_id',
'meta_type',
];
/**
* The validation rules.
*