[doctrine-user] Explicit undex names in many-to-many associations

2016-08-16 Thread Łukasz Strzyżowski
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")

Re: [doctrine-user] Doctrine ProxyGenerator issues a PHP warning when trying rename()

2016-08-16 Thread Marco Pivetta
You probably created proxies with one user, then tried to overwrite them with a different user. In general, at least for prod environments, you should ship with pre-generated proxy classes. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On Mon, Aug 15, 2016 at 7:50 PM,