propelorm/Propel2

Mysql foreign key diff generation ANSI_QUOTES

spidfire opened this issue · 0 comments

Hey I found a bug in MysqlSchemaParser->addForeignKeys (possibly in other locations)
I was spinning up a test database and It did not want to generate diffs for me anymore on that database because SQL_MODE=ANSI_QUOTES; was set by default.

I just turned off this feature but maybe handy if some fix is made in the future? simplest (hacky) fix would be to force that connection to not have it. But the maybe more structural option is stripping double quotes?