Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1965

Multiple Index fails if index name not specified

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ORM
    • Security Level: All
    • Labels:
    • Environment:
      Ubuntu 11.04, PHP 5.3.6 with Suhosin-patch, Symfony 2.0.15

      Description

      @ORM\Table(name="applications", indexes={@ORM\Index(name="csl_idx", columns=

      {"createdAt", "status", "loanType"}), @ORM\Index(name="s_idx", columns={"status"}), @ORM\Index(name="l_idx", columns={"loanType"})})

      the above Annotation creates 3 different indexes BUT when:
      * @ORM\Table(name="applications", indexes={@ORM\Index(columns={"createdAt", "status", "loanType"}

      ), @ORM\Index(columns=

      {"status"}

      ), @ORM\Index(columns=

      {"loanType"}

      )})

      index-names not specified Symfony2 schemaUpdate tools shows only the last Index

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Pont
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: