[DBAL-148] Foreign key creation fails with MySQL 5.1.54 Created: 16/Aug/11 Updated: 18/Aug/11 Resolved: 18/Aug/11
|Reporter:||Frej Connolly||Assignee:||Benjamin Eberlei|
MySQL 5.1.54, PHP 5.3.5, Ubuntu 11.04, Zend Framework 1.11.10
|Attachments:||git_commit_9242fb332baaaeb81be4.txt Job.php orm_schema-tool_create--dump-sql.txt Position.php|
The problem seem to be that the create commande creates the following SQL syntax
which doesn't work. If I use the following (added a space between Postion and (id) in the end) it works.
Patch for AbstractPlatform.php attached.
|Comment by Benjamin Eberlei [ 18/Aug/11 ]|
Fixed and merged 2.1.x