mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-2280: Database-first convert-mapping to XML fails to add length to varchar primary key in id tag #2868
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 (Feb 6, 2013).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user mcaden:
In using orm:convert-mapping xml --from-database the xml that is generated for varchar columns does not receive a length attribute.
Therefore - orm:validate-schema fails and the schema tool reports that the column must change to a varchar(255) when it should be just fine with the varchar that was already there (ex. varchar(10)).
Note: I discovered this on composite keys - unsure whether this is for all or only composite.
@doctrinebot commented on GitHub (May 9, 2013):
Comment created by @beberlei:
Fixed
@doctrinebot commented on GitHub (May 9, 2013):
Issue was closed with resolution "Fixed"