SQLite's schema editor doesn't handle index_together
    
    
    
      
      
      
        
The SQLite schema editor doesn't handle index_together changes. This manifests itself when renaming a field that is part of index_together.
I came across the bug when fixing https://code.djangoproject.com/ticket/23859#comment:6 . After RenameField's database_forwards() has run the index is missing.
Traceback (most recent call last):
  File "/home/jenkins/workspace/django-pull-requests/database/sqlite3/python/python3.4/tests/migrations/test_operations.py", line 1016, in test_rename_field
    self.assertIndexExists("test_rnfl_pony", ["weight", "blue"])
  File "/home/jenkins/workspace/django-pull-requests/database/sqlite3/python/python3.4/tests/migrations/test_base.py", line 46, in assertIndexExists
    for c in connection.introspection.get_constraints(cursor, table).values()
AssertionError: True != False
 
     
   
 
      
        
        
          Change History
          (6)
        
          
  
  
  
    
      | Severity: | Normal → Release blocker | 
    
      | Triage Stage: | Unreviewed → Accepted | 
  
 
           
          
  
  
  
    
      | Owner: | changed from nobody to Markus Holtermann | 
    
      | Status: | new → assigned | 
  
 
           
          
          
  
  
  
    
      | Triage Stage: | Accepted → Ready for checkin | 
  
 
           
          
  
  
  
    
      | Resolution: | → fixed | 
    
      | Status: | assigned → closed | 
  
 
           
          
          
         
       
     
        
    
    
    
Here's a pull request: https://github.com/django/django/pull/3653