#1563: indexes are being ignored on sub-classes
-----------------------------------+----------------------------------------
Reporter: Chekote | Owner: romanb
Type: defect | Status: new
Priority: major | Milestone: Unknown
Component: Inheritance | Version: 1.0.3
Keywords: | Has_test: 0
Mystatus: Pending Core Response | Has_patch: 0
-----------------------------------+----------------------------------------
When using inheritance, indexes defined for all but the root entities are
ignored.
Example:
The sql generated from the schema file below does not have the index
defined for EntityB.
Schema.yml
{{{
EntityA:
columns:
property_a: string(10)
indexes:
index_one:
fields: [property_a]
type: unique
EntityB:
inheritance:
extends: EntityA
type: column_aggregation
columns:
property_b: string(10)
indexes:
index_two:
fields: [property_b]
type: unique
}}}
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1563>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"doctrine-svn" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---