# -*- coding: utf-8 -*-
from south.v2 import SchemaMigration


class Migration(SchemaMigration):

    # does nothing all has been put in core migration (0010_auto__add_user__chg_field_term_validator)
    def forwards(self, orm):
        orm['contenttypes.contenttype'].objects.filter(app_label='jocondelab', model='user', name='user').update(app_label='core', model='user', name='user')

    # does nothing all has been put in core migration (0010_auto__add_user__chg_field_term_validator)
    def backwards(self, orm):
        orm['contenttypes.contenttype'].objects.filter(app_label='core', model='user', name='user').update(app_label='jocondelab', model='user', name='user')

    models = {
        u'contenttypes.contenttype': {
            'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
            'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
        },
        'jocondelab.country': {
            'Meta': {'object_name': 'Country'},
            'dbpedia_uri': ('django.db.models.fields.URLField', [], {'unique': 'True', 'max_length': '2048', 'db_index': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'iso_code_2': ('django.db.models.fields.CharField', [], {'max_length': '2', 'db_index': 'True'}),
            'iso_code_3': ('django.db.models.fields.CharField', [], {'max_length': '3', 'db_index': 'True'})
        }
    }

    complete_apps = ['jocondelab', 'contenttypes']