old_contents: # -*- coding: utf-8 -*-
  from __future__ import unicode_literals
  
  from django.db import models, migrations
  from django.conf import settings
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('contenttypes', '0002_remove_content_type_name'),
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
      ]
  
      operations = [
          migrations.CreateModel(
              name='GenericLink',
              fields=[
                  ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                  ('object_id', models.PositiveIntegerField(db_index=True)),
                  ('url', models.URLField()),
                  ('title', models.CharField(max_length=200)),
                  ('description', models.TextField(max_length=1000, null=True, blank=True)),
                  ('created_at', models.DateTimeField(auto_now_add=True, db_index=True)),
                  ('is_external', models.BooleanField(default=True, db_index=True)),
                  ('content_type', models.ForeignKey(to='contenttypes.ContentType')),
                  ('user', models.ForeignKey(blank=True, to=settings.AUTH_USER_MODEL, null=True)),
              ],
              options={
                  'ordering': ('-created_at',),
                  'verbose_name': 'Generic Link',
                  'verbose_name_plural': 'Generic Links',
              },
          ),
      ]
  
new_contents: # -*- coding: utf-8 -*-
  from __future__ import unicode_literals
  
  from django.db import models, migrations
  from django.conf import settings
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('contenttypes', '__first__'),
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
      ]
  
      operations = [
          migrations.CreateModel(
              name='GenericLink',
              fields=[
                  ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                  ('object_id', models.PositiveIntegerField(db_index=True)),
                  ('url', models.URLField()),
                  ('title', models.CharField(max_length=200)),
                  ('description', models.TextField(max_length=1000, null=True, blank=True)),
                  ('created_at', models.DateTimeField(auto_now_add=True, db_index=True)),
                  ('is_external', models.BooleanField(default=True, db_index=True)),
                  ('content_type', models.ForeignKey(to='contenttypes.ContentType')),
                  ('user', models.ForeignKey(blank=True, to=settings.AUTH_USER_MODEL, null=True)),
              ],
              options={
                  'ordering': ('-created_at',),
                  'verbose_name': 'Generic Link',
                  'verbose_name_plural': 'Generic Links',
              },
          ),
      ]
  
subject: Remove Django 1.8 dependency in initial migration