mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-1164: doctrine:schema:update --force == doctrine:schema:create #1461
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (May 20, 2011).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user xaav:
Doctrine:schema:update --force is the same as doctrine:schema:create.
Under the hood, this may not be true, but they basically accomplish the same task. Schema:create should be removed, as it is redundant.
Just look at django, one command to update db:
./manage.py syncdb
Not saying that django gets everything correct, but the one command to synchronize the database is consistent. doctrine:schema:update should be smart enough to do all of the work, instead of relying on the redundant doctrine:schema:create.
@malukenho commented on GitHub (Jan 3, 2017):
@Ocramius seems invalid, can be closed.
@Ocramius commented on GitHub (Jan 4, 2017):
This is probably invalid, since a schema create shouldn't overwrite or modify existing DDL.