1 # -*- coding: utf-8 -*-
2 from south.utils import datetime_utils as datetime
3 from south.db import db
4 from south.v2 import SchemaMigration
5 from django.db import models
8 class Migration(SchemaMigration):
10 def forwards(self, orm):
11 # Adding field 'OAuthConnection.beta'
12 db.add_column(u'apiclient_oauthconnection', 'beta',
13 self.gf('django.db.models.fields.BooleanField')(default=False),
17 def backwards(self, orm):
18 # Deleting field 'OAuthConnection.beta'
19 db.delete_column(u'apiclient_oauthconnection', 'beta')
23 u'apiclient.oauthconnection': {
24 'Meta': {'object_name': 'OAuthConnection'},
25 'access': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
26 'beta': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
27 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
28 'token': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
29 'token_secret': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
30 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['auth.User']", 'unique': 'True'})
33 'Meta': {'object_name': 'Group'},
34 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
35 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
36 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
39 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'},
40 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
41 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
42 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
43 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
46 'Meta': {'object_name': 'User'},
47 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
48 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
49 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
50 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "u'user_set'", 'blank': 'True', 'to': u"orm['auth.Group']"}),
51 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
52 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
53 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
54 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
55 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
56 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
57 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
58 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "u'user_set'", 'blank': 'True', 'to': u"orm['auth.Permission']"}),
59 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
61 u'contenttypes.contenttype': {
62 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
63 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
64 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
65 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
66 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
70 complete_apps = ['apiclient']