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

          People

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

            Dates

            • Created:
              Updated: