SQL Error when saving, no such column
I have 3 resources: FoodMenu, FoodMenuSections, FoodMenuItems. A food menu has many sections and a section has many items. I have the section relation manager and the item relation manager set up.
The errors
When I save a food menu section with the menu set I get the following error
Then if I look at the database the row is created exactly how I was expecting, with the menu id set under the
food_menu_id
column. So I don't understand the error as I've not tried to set menu_id
and the query seems to work?
The same error happens when creating a food menu item
On both filament resources I am referencing the correct column from the table so I don't know why this error is being thrown? neither menu_id or section_id are referenced anywhere in the code.1 Reply
Here are the resources which are having issues