Problem - unknown column when using relationship in select

there's very simillar problem to mine but making it ->multiple() doesnt change anything.
https://www.answeroverflow.com/m/1188140922605666374

Column not found: 1054 Unknown column 'services' in 'SET', SQL: update medical_packages set description = {"pl":"BlaBlaBla"}, is_enabled = 1, services = ["32","19","7","48"]

anyone have idea how can i fix that?
image.png
image.png
Hi,
I have a problem when I am trying to create or update a user for whom I have added a "Institution" relationship. What is weird is I don't get the same error with the skill relationship.

I have the following error :
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'institution' in 'field list'
update users SET institution = [ "1" ...
Solution
Hey you have to put ->disabled before ->relationship
When using disabled() with multiple() and relationship(), ensure that disabled() is called before relationship(). This ensures that the dehydrated() call from within relationship() is not overridden by the call from disabled():
@source
Was this page helpful?