removing default for foreign key field because it throws an error with mysql.
authorRyan Bagwell <ryan@ryanbagwell.com>
Tue, 6 Oct 2015 14:38:21 +0000 (10:38 -0400)
committerRyan Bagwell <ryan@ryanbagwell.com>
Tue, 6 Oct 2015 14:38:21 +0000 (10:38 -0400)
cas_provider/migrations/0002_auto_20140920_1644.py

index 5948a66..5e50aef 100644 (file)
@@ -32,7 +32,7 @@ class Migration(migrations.Migration):
         migrations.AddField(
             model_name='proxygrantingticket',
             name='user',
-            field=models.ForeignKey(default=0, verbose_name='user', to=settings.AUTH_USER_MODEL),
+            field=models.ForeignKey(verbose_name='user', to=settings.AUTH_USER_MODEL),
             preserve_default=False,
         ),
     ]