Revision 6f979a1a snf-astakos-app/astakos/im/migrations/0014_auto__add_unique_astakosuser_third_party_identifier_provider.py

b/snf-astakos-app/astakos/im/migrations/0014_auto__add_unique_astakosuser_third_party_identifier_provider.py
6 6
class Migration(SchemaMigration):
7 7

  
8 8
    def forwards(self, orm):
9

  
9
        return
10 10
        # Adding unique constraint on 'AstakosUser', fields ['third_party_identifier', 'provider']
11 11
        db.create_unique(
12 12
            'im_astakosuser', ['third_party_identifier', 'provider'])
13 13

  
14 14
    def backwards(self, orm):
15

  
15
        return
16 16
        # Removing unique constraint on 'AstakosUser', fields ['third_party_identifier', 'provider']
17 17
        db.delete_unique(
18 18
            'im_astakosuser', ['third_party_identifier', 'provider'])

Also available in: Unified diff