OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM problem working with migrations

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

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #30290

    pauloasterio
    Participant

    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
    Replies
  • #30291

    Yurii Muratov
    Participant

    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)

The forum ‘OroCRM’ is closed to new topics and replies.

Back to top