# Generated by Django 4.2 on 2023-04-16 19:09

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='League',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=100)),
            ],
        ),
        migrations.CreateModel(
            name='ScoringSettings',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('position', models.CharField(choices=[('QB', 'Quarterback'), ('RB', 'Running Back'), ('WR', 'Wide Receiver'), ('TE', 'Tight End')], max_length=3)),
                ('yards_per_point', models.FloatField()),
                ('points_per_rushing_touchdown', models.FloatField()),
                ('points_per_recieving_touchdown', models.FloatField()),
                ('points_per_passing_touchdown', models.FloatField()),
                ('points_per_reception', models.FloatField()),
                ('points_per_passing_yard', models.FloatField()),
                ('points_per_rushing_yard', models.FloatField()),
                ('points_per_receiving_yard', models.FloatField()),
                ('league', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='leagues.league')),
            ],
        ),
    ]
