l3pp4rd/DoctrineExtensions — pull request #871 by ansata2001 (2013-10-22 17:51:51+00:00)
Title: Makes index usable for non-varchar foreign keys

If field foreign_key varchar(64) references integer PK none of the indexes can be used (at least in MySQL though). Converting any foreign PK to varchar-compatible type solves the problem. Performance hit is much lower than if the index is not used at all.