vershnik
96398ba30f
remove indexes overruled by primary key
There can be unique indexes automatically created for join column. If join column is also primary key we should keep only primary key on this column. Oracle does not allow having both unique index and primary key on the same column, it is useless for mysql too. (Previously it was done by DBAL, but now it allows duplicate indexes)
Master | 2.5 | 2.4 |
---|---|---|
Doctrine 2 is an object-relational mapper (ORM) for PHP 5.4+ that provides transparent persistence for PHP objects. It sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernate's HQL. This provides developers with a powerful alternative to SQL that maintains flexibility without requiring unnecessary code duplication.
More resources:
Languages
PHP
100%