ssossossossosso

Forums

Forums OroCRM OroCRM – Programming Questions Removing extend fields during install process

This topic contains 4 replies, has 4 voices, and was last updated by  Pavel Levin 2 years, 11 months ago.

  • Creator
    Topic
  • #22122

    miken
    Participant

    What’s the proper way to remove an extend field at install time?
    For instance if I wanted to remove the stock ticker field for the account entity completely during the install process. I wrote a migration in my own bundle that does a dropColumn on the account table in the database for the field but the config for the field is still hanging out in the oro_entity_config table. I figure I could grab the account entity config out of that table and unserialize the array for fields, strip the ticker references out and save it. However that just doesn’t feel like the proper way to go about it.

    Thank you,

    Mike

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #22123

    Dima Soroka
    Keymaster

    Right now we don’t have a support for extended fields removal in migration scripts, this feature is scheduled for implementation.

    #22124

    Jeanmonod David
    Participant

    Hi Dima,
    It this still a limitation? I wonder if this is available on 1.4?

    #22125

    Dima Soroka
    Keymaster

    We still not implemented this, the current plan is early 2015.

    #22126

    Pavel Levin
    Participant

    When will?

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.