DBAL-695: [GH-437] Don't generate foreign keys for MySQL tables that are not InnoDB #1917

Closed
doctrinebot opened this Issue Nov 30, 2013 · 3 comments

2 participants

@doctrinebot

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of dunglas:

Url: #437

Message:

This PR adds a supportsForeignKeyConstraintBetween($table1, $table2) method to Platform allowing to check if foreign key between two tables are supported (e.g. on MySQL: InnoDB to InnoDB FK is OK, Memory to InnoFB is not).

The MySQL implementation is also provided and CreateSchemaSqlCollector has been adapted to use this feature.

This PR is related to doctrine/doctrine2#865

@doctrinebot

Comment created by @doctrinebot:

A related Github Pull-Request [GH-865] was closed:
doctrine/doctrine2#865

@doctrinebot

Issue was closed with resolution "Won't Fix"

@doctrinebot

Comment created by @doctrinebot:

A related Github Pull-Request [GH-437] was closed:
#437

@doctrinebot doctrinebot added the Bug label Dec 7, 2015
@beberlei beberlei was assigned by doctrinebot Dec 7, 2015
@doctrinebot doctrinebot closed this Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment