dbal
dbal copied to clipboard
Fix SqlitePlatform FK compare for quoted columns
Q | A |
---|---|
Type | bug |
Fixed issues | n/a |
Summary
The previous FKs are dropped if the $fromTable
has quoted columns - https://github.com/doctrine/dbal/blob/3.3.7/src/Platforms/SqlitePlatform.php#L1261
all other column names are unquoted, thus the columns from $fromTable
must be as well
also make some SqlitePlatform methods protected, so (hot)fixing issues like these is possible on the dependent packages
Please document the problem and provide an integration test.
Closing due to the lack of feedback.
I was on holidays, please reopen this issue, although the issue should be obvious (as the 2nd name in the comparsion is unquoted), I am happy to provide a test.
Closing due to the lack of feedback.