ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 1 reply, has 2 voices, and was last updated by Mike Kudelya Mike Kudelya 11 months, 2 weeks ago.

  • Creator
    Topic
  • #22912

    hmadhur
    Participant

    Hi,

    I have followed the Extend Entity using Migrations documentation to the letter. I am extending Account entity where I have added a number of fields. I executed the migrations.

    The fields that I have added as enum are only visible in the forms. When I checked the oro_entity_config_field table I can see that only the enum fields have been added to the table. The other string and integer fields are not added to the table.

    I am giving the sample migrations code and view.html.twig file code. Please let me know where am I going wrong. I would also like to mention that I tried using both OWNER_CUSTOM and OWNER_SYSTEM in the owner attribute of the field in migrations.

    Migrations file:

    view.html.twig file for account:

    The error I am getting is:

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #23126
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Hi,

    Look at addColumn arguments list – columnName, columnType, options. For example:

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.