OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums OroPlatform OroPlatform – Programming Questions oro:migration:load – Table not created

This topic contains 6 replies, has 5 voices, and was last updated by Ilya Antypenko Ilya Antypenko 1 month, 2 weeks ago.

  • Creator
    Topic
  • #34492

    fduch
    Participant

    Hi guys

    I created a new entity
    Created migration scheme

    Completed the request

    But as a result, the table is not created

    What did I miss?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • #34493

    Viacheslav Bemza
    Moderator

    Hello, fduch.

    The output of the command does not have your migration, so the application can not find it.
    Did you register your bundle? I mean ‘bundles.yml’ file like in documentation

    #34494

    fduch
    Participant

    Hello, Viacheslav

    I added the Bundle in automatic mode
    https://oroinc.com/orocrm/doc/current/dev-guide/cookbook/how-to-create-new-bundle

    Bundle is registered in app / AppKernel.php

    #34495
    msulima
    msulima
    Moderator

    Hello,
    you have a typo in namespace. Now ‘namespace AcmeNewBundle\Migraions\Schema\v1_0;’ should be ‘…\Migrations\…’.


    #34496

    fduch
    Participant

    msulima,

    thank you!!!

    You can correct this symbol in the documentation?

    https://oroinc.com/orocrm/doc/current/dev-guide/entities/using-entities

    #38987

    Frank
    Participant

    Hi Oro-team,

    could you be so kind, and update the typo in documentation namespace (should be ‘Migrations’ instead of Migraions’).

    https://oroinc.com/b2b-ecommerce/doc/current/dev-guide/entities/using-entities

    Thank you

    Regards
    Frank

    #39004
    Ilya Antypenko
    Ilya Antypenko
    Participant

    Thank you Frank for reminding us.
    We’ve created ticket DOC-1212 for updating doc.

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

You must be logged in to reply to this topic.

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

Yes No