# Generated by Django 2.1.4 on 2019-10-09 10:48

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


class Migration(migrations.Migration):

    dependencies = [
        ('riders', '0003_auto_20190924_2101'),
        ('carnival', '0004_carnival_categories'),
    ]

    operations = [
        migrations.CreateModel(
            name='Result',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('place', models.CharField(max_length=20)),
                ('event', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='carnival.Carnival')),
                ('race', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='carnival.Grade')),
                ('rider', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='riders.Rider')),
            ],
        ),
    ]
