Ticket #1563 (closed defect: fixed)
indexes are being ignored on sub-classes
| Reported by: | Chekote | Owned by: | romanb |
|---|---|---|---|
| Priority: | major | Milestone: | 1.0.4 |
| Component: | Inheritance | Version: | 1.0.3 |
| Severity: | Keywords: | ||
| Cc: | Has Test: | no | |
| Status: | Pending Core Response | Has Patch: | no |
Description
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
Change History
Note: See
TracTickets for help on using
tickets.