I have added migration code for field “industry” which is relational as below.PHP12345678910$this->extendExtension->addManyToManyRelation($schema,'orocrm_account', // owning side table'industry', // owning side field name'dataindustry', // inverse side table['name'], // column names are used to show a title of related entity['name'], // column names are used to show detailed info about related entity['name'], // Column names are used to show related entity in a grid['extend' => ['owner' => ExtendScope::OWNER_CUSTOM]]);
I got following errorPHP12[ReflectionException]Property OroCRM\Bundle\AccountBundle\Entity\Account::$industry does not exist
when I run php app/console oro:migration:load --force --show-queries command.
And to resolve this, I executed php app/console oro:entity-extend:update-schema command 2 time than error went.
But when next time I add some new fields in migration than again it throws same error for industry and new field not added in extended entity. Due to this I am not able to use new fields in form.
You must be logged in to reply to this topic.