[Flow] Re: Doctrine: Identity properties recreates indexes mutliple times

Falk vixe4all at freenet.de
Tue Oct 7 13:04:40 CEST 2014


The Problem makes the "UNIQUE" in the @ORM anotation which creates the index therefor again and again. 

If I change this to "@ORM\Column(columnDefinition="INT(11) NOT NULL AUTO_INCREMENT")" without UNIQUE it works. This UNIQUE is needless with the Identity annotation, which creates an unique index for this column.


More information about the Flow mailing list