old_contents: # -*- coding: utf-8 -*-
  from __future__ import unicode_literals
  
  from django.db import migrations, models
  from django.conf import settings
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
      ]
  
      operations = [
          migrations.CreateModel(
              name='ProxyGrantingTicket',
              fields=[
                  ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')),
                  ('session_key', models.CharField(null=True, max_length=255, blank=True)),
                  ('pgtiou', models.CharField(null=True, max_length=255, blank=True)),
                  ('pgt', models.CharField(null=True, max_length=255, blank=True)),
                  ('date', models.DateTimeField(auto_now_add=True)),
                  ('user', models.ForeignKey(null=True, related_name='+', to=settings.AUTH_USER_MODEL, blank=True)),
              ],
          ),
          migrations.CreateModel(
              name='SessionTicket',
              fields=[
                  ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')),
                  ('session_key', models.CharField(max_length=255)),
                  ('ticket', models.CharField(max_length=255)),
              ],
          ),
          migrations.AlterUniqueTogether(
              name='proxygrantingticket',
              unique_together=set([('session_key', 'user')]),
          ),
      ]
  
new_contents: # -*- coding: utf-8 -*-
  # Generated by Django 1.9.1 on 2016-01-13 18:08
  from __future__ import unicode_literals
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
      ]
  
      operations = [
          migrations.CreateModel(
              name='ProxyGrantingTicket',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('session_key', models.CharField(blank=True, max_length=255, null=True)),
                  ('pgtiou', models.CharField(blank=True, max_length=255, null=True)),
                  ('pgt', models.CharField(blank=True, max_length=255, null=True)),
                  ('date', models.DateTimeField(auto_now_add=True)),
                  ('user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='+', to=settings.AUTH_USER_MODEL)),
              ],
          ),
          migrations.CreateModel(
              name='SessionTicket',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('session_key', models.CharField(max_length=255)),
                  ('ticket', models.CharField(max_length=255)),
              ],
          ),
          migrations.AlterUniqueTogether(
              name='proxygrantingticket',
              unique_together=set([('session_key', 'user')]),
          ),
      ]
  
subject: Fix initial migration.