DDC-1782: orm:schema-tool:update always produces the SQL to create the database schema and not the needed to update it #2242

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

Originally created by @doctrinebot on GitHub (Apr 17, 2012).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user jordi:

Tables created by SchemaTool#getSchemaFromMetadata and PostgreSqlSchemaManager#createSchema return different names using the getShortestName function. So, when SchemaTool#getUpdateSchemaSql compares the two schemas all tables are detected as new.

Originally created by @doctrinebot on GitHub (Apr 17, 2012). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user jordi: Tables created by SchemaTool#getSchemaFromMetadata and PostgreSqlSchemaManager#createSchema return different names using the getShortestName function. So, when SchemaTool#getUpdateSchemaSql compares the two schemas all tables are detected as new.
admin added the Bug label 2026-01-22 13:45:55 +01:00
admin closed this issue 2026-01-22 13:45:55 +01:00
Author
Owner

@doctrinebot commented on GitHub (May 1, 2013):

Comment created by @beberlei:

Duplicate of DBAL-483

@doctrinebot commented on GitHub (May 1, 2013): Comment created by @beberlei: Duplicate of [DBAL-483](http://www.doctrine-project.org/jira/browse/DBAL-483)
Author
Owner

@doctrinebot commented on GitHub (May 1, 2013):

Issue was closed with resolution "Duplicate"

@doctrinebot commented on GitHub (May 1, 2013): Issue was closed with resolution "Duplicate"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2242