# -*- coding: utf-8 -*-
# Generated by Django 1.9.1 on 2016-01-29 16:12
from __future__ import unicode_literals

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('contenttypes', '0002_remove_content_type_name'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Like',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('receiver_object_id', models.PositiveIntegerField()),
                ('timestamp', models.DateTimeField(default=django.utils.timezone.now)),
                ('receiver_content_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contenttypes.ContentType')),
                ('sender', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='liking', to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.AlterUniqueTogether(
            name='like',
            unique_together=set([('sender', 'receiver_content_type', 'receiver_object_id')]),
        ),
    ]

@@ -881,32 +881,60 @@
 dels.ForeignKey(
+'contenttypes.ContentType', 
 on_delete=django
@@ -964,39 +964,8 @@
 CADE
-, to='contenttypes.ContentType'
 )),%0A
@@ -1009,16 +1009,42 @@
 eignKey(
+settings.AUTH_USER_MODEL, 
 on_delet
@@ -1105,37 +1105,8 @@
 ing'
-, to=settings.AUTH_USER_MODEL
 )),%0A

Drop features removed in Django 2.0