Revision 5cdbe7cc

b/snf-astakos-app/astakos/im/migrations/0044_auto__chg_field_projectapplication_chain__chg_field_project_id.py
14 14
        # Changing field 'Project.id'
15 15
        db.alter_column('im_project', 'id', self.gf('django.db.models.fields.BigIntegerField')(primary_key=True, db_column='id'))
16 16

  
17
        # Removing index on 'Project', fields ['id']
18
        db.delete_index('im_project', ['id'])
17
        if db.backend_name != 'sqlite3':
18
            # Removing index on 'Project', fields ['id']
19
            db.delete_index('im_project', ['id'])
19 20
    
20 21
    
21 22
    def backwards(self, orm):

Also available in: Unified diff