This topic contains 1 reply, has 2 voices, and was last updated by mmiasnikov 6 years, 1 month ago.
- Topic
I add an additional column in lead entity in migration script as in document
12345678910111213141516171819202122use 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 I got a timeout issue when running
1oro:migration:load --force --show-queries‘oro:entity-config:update’ ‘–env=prod'” exceeded the timeout of 300 seconds.
The new column is added in the database but not on the UI(view,update) probably due to this error. Could someone offer some help, I’m stuck.
The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.