Skip to content

Loading…

DDC-986: bad cli commands in ORM introduction #5521

Closed
doctrinebot opened this Issue · 5 comments

4 participants

@doctrinebot

Jira issue originally created by user stfalcon:

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"
{quote}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.{quote}
It's not worked for me:
{quote}[InvalidArgumentException]

Command "orm:schema-tool" is not defined.
{quote}

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

@beberlei beberlei was assigned by doctrinebot
@harikt

This seems not valid as of now. Can be closed. / cc @Ocramius ?

@Ocramius
Doctrine member

:+1: thanks for poking me!

@Ocramius Ocramius added the Invalid label
@beberlei beberlei was unassigned by Ocramius
@Ocramius Ocramius self-assigned this
@Ocramius Ocramius closed this
@harikt

I know you are fast enough to do it. Thank you once again, and sorry to disturb. ( I know sometimes I should not do this :-( )

@Ocramius
Doctrine member

@harikt if I were to skim all 800+ open issues I'd never be done: this sort of triaging is useful :-)

@harikt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.