Covering OroCommerce, OroCRM, OroPlatform topics, including community updates and company announcements.

Forums OroCRM problem working with migrations

This topic contains 1 reply, has 2 voices, and was last updated by  Yurii Muratov 2 years, 8 months ago.

  • Creator
  • #30290

    Hello, I have a bundle where I am using bundle inheritance of OroCRM contact bundle, inside my custom bundle I created a migration class bellow, I ran the app/console oro:migration:load –force and the result is that the field is added to the database table but I can not see it on orocrm entities page, and can not use it on forms, can anybody help ?

Viewing 1 replies (of 1 total)
  • Author
  • #30291

    Yurii Muratov

    Hi, @pauloasterio.

    Your error in addColumn method call. This function has only 3 parameters, but you set 4.

    So, the right code will be:

    Additional note.

    You should not add index for your field manually because you set datagrid parameter as true. In this case, index will be created automatically for this field.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No
sso for www.magecore.comsso for oroinc.comsso for oroinc.desso for oroinc.frsso for marketplace.orocommerce.comsso for