# -*- coding: utf-8 -*-
# Generated by Django 1.11.1 on 2017-07-30 10:28
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):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('movie', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Vote',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('deleted_at', models.DateTimeField(blank=True, null=True)),
                ('up', models.BooleanField(default=False)),
            ],
        ),
        migrations.AddField(
            model_name='review',
            name='vote_count',
            field=models.IntegerField(blank=True, default=0, null=True),
        ),
        migrations.AddField(
            model_name='vote',
            name='review',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='movie.Review'),
        ),
        migrations.AddField(
            model_name='vote',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
        ),
        migrations.AlterUniqueTogether(
            name='vote',
            unique_together=set([('user', 'review')]),
        ),
    ]

ec6d0b474d8eed7e1fce5fd4063329b80de4e4cc
<mask token>

<mask token>


class Migration(migrations.Migration):
    <mask token>
    <mask token>

<mask token>


class Migration(migrations.Migration):
    dependencies = [migrations.swappable_dependency(settings.
        AUTH_USER_MODEL), ('movie', '0001_initial')]
    operations = [migrations.CreateModel(name='Vote', fields=[('id', models
        .AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('created_at', models.DateTimeField(
        auto_now_add=True)), ('updated_at', models.DateTimeField(auto_now=
        True)), ('deleted_at', models.DateTimeField(blank=True, null=True)),
        ('up', models.BooleanField(default=False))]), migrations.AddField(
        model_name='review', name='vote_count', field=models.IntegerField(
        blank=True, default=0, null=True)), migrations.AddField(model_name=
        'vote', name='review', field=models.ForeignKey(on_delete=django.db.
        models.deletion.CASCADE, to='movie.Review')), migrations.AddField(
        model_name='vote', name='user', field=models.ForeignKey(on_delete=
        django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
        migrations.AlterUniqueTogether(name='vote', unique_together=set([(
        'user', 'review')]))]

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):
    dependencies = [migrations.swappable_dependency(settings.
        AUTH_USER_MODEL), ('movie', '0001_initial')]
    operations = [migrations.CreateModel(name='Vote', fields=[('id', models
        .AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('created_at', models.DateTimeField(
        auto_now_add=True)), ('updated_at', models.DateTimeField(auto_now=
        True)), ('deleted_at', models.DateTimeField(blank=True, null=True)),
        ('up', models.BooleanField(default=False))]), migrations.AddField(
        model_name='review', name='vote_count', field=models.IntegerField(
        blank=True, default=0, null=True)), migrations.AddField(model_name=
        'vote', name='review', field=models.ForeignKey(on_delete=django.db.
        models.deletion.CASCADE, to='movie.Review')), migrations.AddField(
        model_name='vote', name='user', field=models.ForeignKey(on_delete=
        django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
        migrations.AlterUniqueTogether(name='vote', unique_together=set([(
        'user', 'review')]))]

# -*- coding: utf-8 -*-
# Generated by Django 1.11.1 on 2017-07-30 10:28
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):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('movie', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Vote',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('deleted_at', models.DateTimeField(blank=True, null=True)),
                ('up', models.BooleanField(default=False)),
            ],
        ),
        migrations.AddField(
            model_name='review',
            name='vote_count',
            field=models.IntegerField(blank=True, default=0, null=True),
        ),
        migrations.AddField(
            model_name='vote',
            name='review',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='movie.Review'),
        ),
        migrations.AddField(
            model_name='vote',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
        ),
        migrations.AlterUniqueTogether(
            name='vote',
            unique_together=set([('user', 'review')]),
        ),
    ]
