Closed pxpm closed 1 year ago
Reported in https://github.com/Laravel-Backpack/demo/issues/457
We introduced some fields as fillable in Monster model, but they are not columns in monsters table.
fillable
Monster
monsters
When getting the relation we attempted to get those fields as part of the pivot relation and it would break the list page.
It works again.
Excluded fields from fillable that are not part o the model table.
Non.
WHY
BEFORE - What was wrong? What was happening before this PR?
Reported in https://github.com/Laravel-Backpack/demo/issues/457
We introduced some fields as
fillable
inMonster
model, but they are not columns inmonsters
table.When getting the relation we attempted to get those fields as part of the pivot relation and it would break the list page.
AFTER - What is happening after this PR?
It works again.
HOW
How did you achieve that, in technical terms?
Excluded fields from fillable that are not part o the model table.
Is it a breaking change or non-breaking change?
Non.