diff options
| author | Simon Charette <charette.s@gmail.com> | 2018-12-06 11:37:43 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-12-07 14:22:42 -0500 |
| commit | 53b17d4734f06372b66e3ac4db7a1740c503b330 (patch) | |
| tree | cdc57f1b40d69561f7a2ac1731fe67c1b5f9eb37 /tests/backends/sqlite | |
| parent | 13501d162f4b243f20e2a89e0799ceb796ea9756 (diff) | |
[2.0.x] Fixed #29182 -- Fixed schema table alteration on SQLite 3.26+.
SQLite 3.26 repoints foreign key constraints on table renames even when
foreign_keys pragma is off which breaks every operation that requires
a table rebuild to simulate unsupported ALTER TABLE statements.
The newly introduced legacy_alter_table pragma disables this behavior
and restores the previous schema editor assumptions.
Thanks Florian Apolloner, Christoph Trassl, Chris Lamb for the report and
troubleshooting assistance.
Backport of c8ffdbe514b55ff5c9a2b8cb8bbdf2d3978c188f from master.
Diffstat (limited to 'tests/backends/sqlite')
0 files changed, 0 insertions, 0 deletions
