3 from south.db import db
4 from south.v2 import SchemaMigration
5 from django.db import models
7 class Migration(SchemaMigration):
9 def forwards(self, orm):
11 # Deleting field 'ProxyGrantingTicket.targetService'
12 db.delete_column('cas_provider_proxygrantingticket', 'targetService')
15 def backwards(self, orm):
17 # Adding field 'ProxyGrantingTicket.targetService'
18 db.add_column('cas_provider_proxygrantingticket', 'targetService', self.gf('django.db.models.fields.URLField')(default='http://not.used', max_length=200), keep_default=False)
23 'Meta': {'object_name': 'Group'},
24 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
25 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
26 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
29 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
30 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
31 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
32 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
33 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
36 'Meta': {'object_name': 'User'},
37 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
38 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
39 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
40 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
41 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
42 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
43 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
44 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
45 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
46 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
47 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
48 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
49 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
51 'cas_provider.loginticket': {
52 'Meta': {'object_name': 'LoginTicket'},
53 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
54 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
55 'ticket': ('django.db.models.fields.CharField', [], {'max_length': '32'})
57 'cas_provider.proxygrantingticket': {
58 'Meta': {'object_name': 'ProxyGrantingTicket'},
59 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
60 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
61 'pgtiou': ('django.db.models.fields.CharField', [], {'max_length': '256'}),
62 'serviceTicket': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['cas_provider.ServiceTicket']", 'null': 'True'}),
63 'ticket': ('django.db.models.fields.CharField', [], {'max_length': '32'})
65 'cas_provider.proxygrantingticketiou': {
66 'Meta': {'object_name': 'ProxyGrantingTicketIOU'},
67 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
68 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
69 'proxyGrantingTicket': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['cas_provider.ProxyGrantingTicket']"}),
70 'ticket': ('django.db.models.fields.CharField', [], {'max_length': '32'})
72 'cas_provider.proxyticket': {
73 'Meta': {'object_name': 'ProxyTicket', '_ormbases': ['cas_provider.ServiceTicket']},
74 'proxyGrantingTicket': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['cas_provider.ProxyGrantingTicket']"}),
75 'serviceticket_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['cas_provider.ServiceTicket']", 'unique': 'True', 'primary_key': 'True'})
77 'cas_provider.serviceticket': {
78 'Meta': {'object_name': 'ServiceTicket'},
79 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
80 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
81 'service': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
82 'ticket': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
83 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"})
85 'contenttypes.contenttype': {
86 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
87 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
88 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
89 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
90 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
94 complete_apps = ['cas_provider']