doctrine/doctrine2 — pull request #865 by dunglas (2013-11-30 01:01:46+00:00)
Title: Delay foreign keys generation after tables hydration in SchemaTool

MySQL allows foreign keys only between tables using the InnoDB engine (MyISAM, memory and other engines don't support foreign keys).
This PR delay foreign keys generation after the hydration of all `Table` objects. It enables DBAL to check tables engines before adding foreign keys.