Forums OroCRM problem working with migrations

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

  • Creator
  • #27199


    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
  • #27200

    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.