Django 1.8(b2) support.
[django-cas-provider.git] / cas_provider / migrations / 0002_auto_20140920_1644.py
1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
3
4 from django.db import models, migrations
5 from django.conf import settings
6
7
8 class Migration(migrations.Migration):
9
10     dependencies = [
11         migrations.swappable_dependency(settings.AUTH_USER_MODEL),
12         ('cas_provider', '0001_initial'),
13     ]
14
15     operations = [
16         migrations.RemoveField(
17             model_name='proxygrantingticket',
18             name='serviceTicket',
19         ),
20         migrations.AddField(
21             model_name='proxygrantingticket',
22             name='pgt',
23             field=models.ForeignKey(to='cas_provider.ProxyGrantingTicket', null=True),
24             preserve_default=True,
25         ),
26         migrations.AddField(
27             model_name='proxygrantingticket',
28             name='service',
29             field=models.URLField(null=True, verbose_name='service'),
30             preserve_default=True,
31         ),
32         migrations.AddField(
33             model_name='proxygrantingticket',
34             name='user',
35             field=models.ForeignKey(default=0, verbose_name='user', to=settings.AUTH_USER_MODEL),
36             preserve_default=False,
37         ),
38     ]