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

doctrinebot opened this Issue Aug 2, 2012 · 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 Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment