text: # -*- coding: utf-8 -*-
  from south.utils import datetime_utils as datetime
  from south.db import db
  from south.v2 import SchemaMigration
  from django.db import models
  
  
  class Migration(SchemaMigration):
  
      def forwards(self, orm):
          # Adding field 'UserSettings.use_spaces'
          db.add_column(u'ide_usersettings', 'use_spaces',
                        self.gf('django.db.models.fields.BooleanField')(default=True),
                        keep_default=False)
  
          # Adding field 'UserSettings.tab_width'
          db.add_column(u'ide_usersettings', 'tab_width',
                        self.gf('django.db.models.fields.PositiveSmallIntegerField')(default=2),
                        keep_default=False)
  
  
      def backwards(self, orm):
          # Deleting field 'UserSettings.use_spaces'
          db.delete_column(u'ide_usersettings', 'use_spaces')
  
          # Deleting field 'UserSettings.tab_width'
          db.delete_column(u'ide_usersettings', 'tab_width')
  
  
      models = {
          u'auth.group': {
              'Meta': {'object_name': 'Group'},
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
              'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
          },
          u'auth.permission': {
              'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'},
              'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
          },
          u'auth.user': {
              'Meta': {'object_name': 'User'},
              'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
              'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
              'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
              'groups': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "u'user_set'", 'blank': 'True', 'to': u"orm['auth.Group']"}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
              'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
              'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
              'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
              'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
              'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "u'user_set'", 'blank': 'True', 'to': u"orm['auth.Permission']"}),
              'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
          },
          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'})
          },
          u'ide.buildresult': {
              'Meta': {'object_name': 'BuildResult'},
              'binary_size': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
              'finished': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'project': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'builds'", 'to': u"orm['ide.Project']"}),
              'resource_size': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
              'started': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'db_index': 'True', 'blank': 'True'}),
              'state': ('django.db.models.fields.IntegerField', [], {'default': '1'}),
              'total_size': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
              'uuid': ('django.db.models.fields.CharField', [], {'default': "'cc341e50-d269-47fc-b028-93b32b2a409d'", 'max_length': '36'})
          },
          u'ide.project': {
              'Meta': {'unique_together': "(('owner', 'name'),)", 'object_name': 'Project'},
              'app_capabilities': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
              'app_company_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
              'app_is_watchface': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
              'app_jshint': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'app_keys': ('django.db.models.fields.TextField', [], {'default': "'{}'"}),
              'app_long_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
              'app_short_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
              'app_uuid': ('django.db.models.fields.CharField', [], {'default': "'55824e27-33c7-4cd9-a616-89697f55467f'", 'max_length': '36', 'null': 'True', 'blank': 'True'}),
              'app_version_code': ('django.db.models.fields.IntegerField', [], {'default': '1', 'null': 'True', 'blank': 'True'}),
              'app_version_label': ('django.db.models.fields.CharField', [], {'default': "'1.0'", 'max_length': '40', 'null': 'True', 'blank': 'True'}),
              'github_branch': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
              'github_hook_build': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
              'github_hook_uuid': ('django.db.models.fields.CharField', [], {'max_length': '36', 'null': 'True', 'blank': 'True'}),
              'github_last_commit': ('django.db.models.fields.CharField', [], {'max_length': '40', 'null': 'True', 'blank': 'True'}),
              'github_last_sync': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
              'github_repo': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
              'optimisation': ('django.db.models.fields.CharField', [], {'default': "'s'", 'max_length': '1'}),
              'owner': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}),
              'sdk_version': ('django.db.models.fields.CharField', [], {'default': "'1'", 'max_length': '10'}),
              'version_def_name': ('django.db.models.fields.CharField', [], {'default': "'APP_RESOURCES'", 'max_length': '50'})
          },
          u'ide.resourcefile': {
              'Meta': {'unique_together': "(('project', 'file_name'),)", 'object_name': 'ResourceFile'},
              'file_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_menu_icon': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
              'kind': ('django.db.models.fields.CharField', [], {'max_length': '9'}),
              'project': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'resources'", 'to': u"orm['ide.Project']"})
          },
          u'ide.resourceidentifier': {
              'Meta': {'unique_together': "(('resource_file', 'resource_id'),)", 'object_name': 'ResourceIdentifier'},
              'character_regex': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'resource_file': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'identifiers'", 'to': u"orm['ide.ResourceFile']"}),
              'resource_id': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              'tracking': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'})
          },
          u'ide.sourcefile': {
              'Meta': {'unique_together': "(('project', 'file_name'),)", 'object_name': 'SourceFile'},
              'file_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'project': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'source_files'", 'to': u"orm['ide.Project']"})
          },
          u'ide.templateproject': {
              'Meta': {'object_name': 'TemplateProject', '_ormbases': [u'ide.Project']},
              u'project_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['ide.Project']", 'unique': 'True', 'primary_key': 'True'}),
              'template_kind': ('django.db.models.fields.IntegerField', [], {'db_index': 'True'})
          },
          u'ide.usergithub': {
              'Meta': {'object_name': 'UserGithub'},
              'avatar': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
              'nonce': ('django.db.models.fields.CharField', [], {'max_length': '36', 'null': 'True', 'blank': 'True'}),
              'token': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
              'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'github'", 'unique': 'True', 'primary_key': 'True', 'to': u"orm['auth.User']"}),
              'username': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'})
          },
          u'ide.usersettings': {
              'Meta': {'object_name': 'UserSettings'},
              'accepted_terms': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'autocomplete': ('django.db.models.fields.IntegerField', [], {'default': '1'}),
              'keybinds': ('django.db.models.fields.CharField', [], {'default': "'default'", 'max_length': '20'}),
              'tab_width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2'}),
              'theme': ('django.db.models.fields.CharField', [], {'default': "'monokai'", 'max_length': '50'}),
              'use_spaces': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'user': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['auth.User']", 'unique': 'True', 'primary_key': 'True'})
          }
      }
  
      complete_apps = ['ide']