This topic contains 6 replies, has 3 voices, and was last updated by jaime.du 6 years ago.
- Topic
I add an additional column in lead entity in migration script as in document
1234567891011121314151617181920212223242526I add an additional column in lead entity in migration script as in documentPHPuse Doctrine\DBAL\Schema\Schema;use Oro\Bundle\EntityExtendBundle\EntityConfig\ExtendScope;use Oro\Bundle\MigrationBundle\Migration\Migration;use Oro\Bundle\MigrationBundle\Migration\QueryBag;class AddCollectorToLead implements Migration{public function up(Schema $schema, QueryBag $queries){$table = $schema->getTable('orocrm_sales_lead');$table->addColumn('collector','boolean',['oro_options' => ['extend' => ['is_extend' => true, 'owner' => ExtendScope::OWNER_CUSTOM],'datagrid' => ['is_visible' => false],],]);}}But on the view and update page , the column name is shown as Oro.Sales.Lead.Collector.Label, not collector. Is the any configuration I forgot to do?
The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.