Closed David-Wobrock closed 5 years ago
And funnily enough, since we have badly isolated logic, when you change the order of the databases in the settings, it works for some cases (even though, the dict are unordered. From one version of Python to another, the behaviours changes). Probably because mysql accepts the same quotes as postgresql, but postgresql does not accept the mysql quotes :+1:
So I got a workaround in some edge cases at least ;)
Hi,
On a Django project that defines multiple databases, the quotes are broken.
Defining
One app has a migration that looks like
Launching the tests, which will set up both databases, we get the error
Investigation: Introspecting the SQL queries that are sent to the database:
and to the postgresql DB:
where the last line obviously is incorrect.
Thank you for your time :) David