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 13:32:37 -0500 |
| commit | c8ffdbe514b55ff5c9a2b8cb8bbdf2d3978c188f (patch) | |
| tree | 4cd834dbf53f7a8e5ce893d09430f227f7b70429 /tests/admin_utils/admin.py | |
| parent | 79c196cfb287893aadc6b0e74603ffde1512170e (diff) | |
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.
Diffstat (limited to 'tests/admin_utils/admin.py')
0 files changed, 0 insertions, 0 deletions
