From fea0e7bc58a970ddb5894105616be97925b2b91c Mon Sep 17 00:00:00 2001 From: Ryan Bagwell Date: Tue, 6 Oct 2015 10:38:21 -0400 Subject: [PATCH] removing default for foreign key field because it throws an error with mysql. --- cas_provider/migrations/0002_auto_20140920_1644.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cas_provider/migrations/0002_auto_20140920_1644.py b/cas_provider/migrations/0002_auto_20140920_1644.py index 5948a66..5e50aef 100644 --- a/cas_provider/migrations/0002_auto_20140920_1644.py +++ b/cas_provider/migrations/0002_auto_20140920_1644.py @@ -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, ), ] -- 2.20.1