Ticket #1563 (closed defect: fixed)

Opened 9 months ago

Last modified 9 months ago

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

Changed 9 months ago by jwage

  • milestone changed from Unknown to 1.0.4

Changed 9 months ago by jwage

  • status changed from new to closed
  • resolution set to fixed

(In [5118]) [1.0, 1.1] fixes #1563

Note: See TracTickets for help on using tickets.