[Flow] Doctrine: Identity properties recreates indexes mutliple times

Falk vixe4all at freenet.de
Tue Oct 7 12:03:03 CEST 2014


Hello guys,

I've models with additonal identity properties. Every doctrine update/migrate recreate all indexes for the relevant table cols in the DB without existence check. This results in multiple indexes for the same table column.

Property sample:
----------------------------------------------
/**
 * @var integer
 * @Flow\Identity
 * @ORM\Column(columnDefinition="INT(11) NOT NULL AUTO_INCREMENT UNIQUE") 
 */
protected $id;
----------------------------------------------

Is this a bug?

Best Falk

TYPO3 Flow 2.2.2


More information about the Flow mailing list