Patch the SQLite backend to fix Alter Table breakages.

Review Request #10869 — Created Jan. 29, 2020 and submitted

chipx86
Django Evolution
master
django-evolution

When running SQLite 2.26+ and Django 1.11 through 2.1.4, an Alter Table
would fail silently, causing problems further down the line. This was
due to some behavioral changes in SQLite when altering tables that
Django was not compatible with.

Django 2.1.4 turns on the legacy_alter_table flag when preparing to
edit schema. We now patch earlier versions of Django to do the same
thing.

Tested in a Python environment with these versions and reproduced
the problem and the fix.

Summary
Patch the SQLite backend to fix Alter Table breakages.
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (3e55936)
Loading...