Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-986

bad cli commands in ORM introduction

    Details

    • Type: Documentation Documentation
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Documentation
    • Security Level: All
    • Labels:
      None

      Description

      I read mini tutorial http://www.doctrine-project.org/docs/orm/2.0/en/reference/introduction.html#mini-tutorial and try run command "doctrine orm:schema-tool --drop"

      TIP When you create new model classes or alter existing ones you can recreate the database schema with the command doctrine orm:schema-tool --drop followed by doctrine orm:schema-tool --create.

      It's not worked for me:

      [InvalidArgumentException]
      Command "orm:schema-tool" is not defined.

      But command "doctrine orm:schema-tool:drop --force" and "doctrine orm:schema-tool:create" is worked.
      It's bug in documentation?

        Activity

        Stepan Tanasiychuk created issue -
        Stepan Tanasiychuk made changes -
        Field Original Value New Value
        Issue Type Bug [ 1 ] Documentation [ 6 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 12302 ] jira-feedback [ 13899 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 13899 ] jira-feedback2 [ 15763 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 15763 ] jira-feedback3 [ 18020 ]

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Stepan Tanasiychuk
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: