Hack for mysql < 5.6.19 http://bugs.mysql.com/bug.php?id=13942
Foreign key names must be shorter than 64 digits

rf