Not for join tables, sorry. Marco Pivetta
http://twitter.com/Ocramius http://ocramius.github.com/ On Tue, Aug 16, 2016 at 12:44 PM, Łukasz Strzyżowski <[email protected]> wrote: > I have an association like below: > > /** > * @var Worker > * > * @ORM\ManyToMany(targetEntity="AppBundle\Entity\Worker", > inversedBy="device") > * @ORM\JoinTable(name="devices_to_workers", > * joinColumns={ > * @ORM\JoinColumn(name="device_id", referencedColumnName="id") > * }, > * inverseJoinColumns={ > * @ORM\JoinColumn(name="worker_id", referencedColumnName="id") > * } > * ) > */ > > Is currently possible to explicity name of indexes to foreign tables? I > would like to have index named like IDX_devices_to_workers_device_id > instead of autogenerated like IDX_3A4572F294A4C7D4 > > -- > You received this message because you are subscribed to the Google Groups > "doctrine-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/doctrine-user. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
