mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-917: using generator strategy AUTO leads to duplicate squences drops (on PostgreSQL) when using inheritance #1138
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 (Dec 7, 2010).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user @lsmith77:
This is the base definition:
https://github.com/knplabs/DoctrineUserBundle/blob/symfony2Security/Resources/config/doctrine/metadata/orm/Bundle.DoctrineUserBundle.Entity.User.dcm.xml
It uses
This class is inherited 2 times.
When generating the drop sql it gives the following (note the user_user_like and user_user_interest entities use generator strategy IDENTITY):
Soitgoes:foo lsmith$ app/main/console_dev doctrine:schema:create --dump-sql
ATTENTION: This operation should not be executed in an production enviroment.
@doctrinebot commented on GitHub (Dec 8, 2010):
Comment created by @beberlei:
Fixed
@doctrinebot commented on GitHub (Dec 8, 2010):
Issue was closed with resolution "Fixed"