Fix migrating old databases not containing certain metadata.

Review Request #7779 — Created Nov. 23, 2015 and submitted

Information

Django Evolution
release-0.7.x

Reviewers

Older databases don't have things like index_together stored in the
schema, which django-evolution looks for these days. This could cause
breakages when upgrading older databases. We now fall back to defaults
if these don't exist.

Unit tests pass.

I was able to upgrade some very old databases.

reviewbot
  1. Tool: Pyflakes
    Processed Files:
        django_evolution/db/common.py
        django_evolution/mutators.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        django_evolution/db/common.py
        django_evolution/mutators.py
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-0.7.x (053919a)
Loading...