# Generated by Django 2.2.6 on 2019-11-04 01:05

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("movies", "0008_movie_director"),
        ("blog", "0007_auto_20191103_2058"),
    ]

    operations = [
        migrations.CreateModel(
            name="MovieReview",
            fields=[
                (
                    "blogdetailpage_ptr",
                    models.OneToOneField(
                        auto_created=True,
                        on_delete=django.db.models.deletion.CASCADE,
                        parent_link=True,
                        primary_key=True,
                        serialize=False,
                        to="blog.BlogDetailPage",
                    ),
                ),
                (
                    "movie",
                    models.ForeignKey(
                        null=True,
                        on_delete=django.db.models.deletion.SET_NULL,
                        to="movies.Movie",
                    ),
                ),
            ],
            options={
                "abstract": False,
            },
            bases=("blog.blogdetailpage",),
        ),
    ]
