idea-php-annotation-plugin icon indicating copy to clipboard operation
idea-php-annotation-plugin copied to clipboard

Doctrine: Generation of ORM indexes automatically

Open azatyan opened this issue 10 years ago • 5 comments

Add the way to generate ORM indexes with single click. Update indexes when clicked on generated indexes entity

@ORM\Index(name="index_name", columns={"field_name"})
@ORM\Index(name="second_index_name", columns={"other_field_name"})
// other indexes ...

azatyan avatar May 05 '15 16:05 azatyan

good idea. iam searching for the right syntax in different metadata all the time :)

Haehnchen avatar May 05 '15 18:05 Haehnchen

annotations are in official docs => http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/annotations-reference.html#annref-index (use with prefixed ORM\Index) and how can i help implement without Java skills ?))

azatyan avatar May 05 '15 18:05 azatyan

https://github.com/Haehnchen/idea-php-shopware-plugin/issues/30

Haehnchen avatar Jul 05 '16 15:07 Haehnchen

(y)

azatyan avatar Jul 05 '16 19:07 azatyan

@Haehnchen looks now you can implement it?

azatyan avatar Jul 05 '16 20:07 azatyan