Hi, I want to create a self relation in orocrm_contact table. I did this:
public function up(Schema $schema, QueryBag $queries)
$table = $schema->getTable(‘orocrm_contact’);
$table, // owning side table
‘marriage’, // owning side field name
$table, // target side table
‘first_name’, // column name is used to show related entity
[‘extend’ => [‘owner’ => ExtendScope::OWNER_CUSTOM]]
And then I add the field in the view. But when I set the field with the selector, this value did’t save.
Always is empty.
What I am doing wrong?.
You must be logged in to reply to this topic.