DDC-1164: doctrine:schema:update --force == doctrine:schema:create #1461

Closed
opened 2026-01-22 13:15:13 +01:00 by admin · 2 comments
Owner

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.

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.
admin added the ImprovementInvalid labels 2026-01-22 13:15:14 +01:00
admin closed this issue 2026-01-22 13:15:15 +01:00
Author
Owner

@malukenho commented on GitHub (Jan 3, 2017):

@Ocramius seems invalid, can be closed.

@malukenho commented on GitHub (Jan 3, 2017): @Ocramius seems invalid, can be closed.
Author
Owner

@Ocramius commented on GitHub (Jan 4, 2017):

This is probably invalid, since a schema create shouldn't overwrite or modify existing DDL.

@Ocramius commented on GitHub (Jan 4, 2017): This is probably invalid, since a schema create shouldn't overwrite or modify existing DDL.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1461