Skip to content


DDC-1965: Multiple Index fails if index name not specified #2638

doctrinebot opened this Issue · 0 comments

2 participants


Jira issue originally created by user pont:

@ORM\Table(name="applications", indexes={@ORM\Index(name="cslidx", columns={"createdAt", "status", "loanType"}), @ORM\Index(name="s_idx", columns={"status"}), @ORM\Index(name="lidx", 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

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.