doctrine/dbal — pull request #242 by Ocramius (2013-01-02 13:27:01+00:00)
Title: Hotfix/dbal 370

This PR applies a hotfix for broken behavior introduced in DBAL-370 (doctrine/dbal#220).

Basically, the SQLite platform lies about its ability to support foreign key constraint generation. This leads to various failures in the ORM schema tools.

In fact, the platform itself doesn't even generate the foreign key generation SQL, and instead throws a `Doctrine\DBAL\DBALException` (similar to "not implemented" in this particular case).
The PR introduces a failing test that exposes the (currently) missing feature in the platform and restores the return value of `Doctrine\DBAL\Platforms\SqlitePlatform#supportsForeignKeyConstraints()`.

While SQLite 3.6.19 introduces support for Foreign keys, the DBAL platform still doesn't have it.

Ping @lsmith77 @hason