Doctrine 1
  1. Doctrine 1
  2. DC-180

[PATCH] Unique index name for column aggregation key column

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0-BETA1
    • Fix Version/s: 1.2.0-BETA2
    • Component/s: Record
    • Labels:
      None

      Description

      When using column aggregation colum with the same name on multiple models, and exporting schema to database, I have a collisions with names in Oracle (I think others are affected too).

      {{
      CREATE INDEX "type" ON "nt_organism_property" ("type")
      CREATE INDEX "type" ON "nt_property" ("type")
      CREATE INDEX "type" ON "st_node" ("type")
      }}

      I propose to prefix the index name with the table name

      1. RecordAbstract.php.patch
        0.6 kB
        Miloslav "adrive" Kmet

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Miloslav "adrive" Kmet
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: