# Generated by Django 3.1.1 on 2020-09-09 01:56

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Movie',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('title', models.CharField(max_length=200)),
                ('description', models.CharField(blank=True, max_length=500, null=True)),
                ('rating', models.IntegerField(validators=[app.models.validate_rating])),
                ('created_at', models.DateTimeField(auto_now_add=True)),
            ],
        ),
    ]
