excute model add Attribute in octobercms code example
Example: octobercms model add fillable
YourModel::extend(function($model) {
$model->addFillable([
'fillable',
'field',
'names'
]);
});
YourModel::extend(function($model) {
$model->addFillable([
'fillable',
'field',
'names'
]);
});