# Generated by Django 3.2.4 on 2021-06-25 03:21

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Atleta',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('nome_atleta', models.CharField(max_length=255, verbose_name='Nome')),
                ('idade_atleta', models.IntegerField(verbose_name='Idade')),
                ('peso_atleta', models.FloatField(verbose_name='Peso')),
                ('altura_atleta', models.FloatField(verbose_name='Altura')),
            ],
        ),
        migrations.CreateModel(
            name='Competicao',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('nome_competicao', models.CharField(max_length=255, verbose_name='Nome')),
                ('data_competicao', models.DateTimeField(max_length=255, verbose_name='Data')),
                ('local_competicao', models.CharField(max_length=255, verbose_name='Local')),
                ('modalidade', models.CharField(choices=[('Corrida 100m rasos', 'Corrida 100m rasos'), ('Arremesso de dardos', 'Arremesso de dardos')], max_length=40, verbose_name='Modalidade')),
                ('em_progresso', models.BooleanField(default=True, verbose_name='Em progresso')),
            ],
        ),
        migrations.CreateModel(
            name='Participante',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('tempo_atleta', models.FloatField(blank=True, null=True, verbose_name='Tempo')),
                ('arremesso1_atleta', models.FloatField(blank=True, default=0, verbose_name='Arremesso 1')),
                ('arremesso2_atleta', models.FloatField(blank=True, default=0, verbose_name='Arremesso 2')),
                ('arremesso3_atleta', models.FloatField(blank=True, default=0, verbose_name='Arremesso 3')),
                ('arremesso_max', models.FloatField(blank=True, default=0, verbose_name='Arremesso máximo')),
                ('atleta', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to='competicao.atleta')),
                ('competicao', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to='competicao.competicao')),
            ],
        ),
    ]

# Generated by Django 3.2.4 on 2021-06-25 03:21

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Atleta',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('nome_atleta', models.CharField(max_length=255, verbose_name='Nome')),
                ('idade_atleta', models.IntegerField(verbose_name='Idade')),
                ('peso_atleta', models.FloatField(verbose_name='Peso')),
                ('altura_atleta', models.FloatField(verbose_name='Altura')),
            ],
        ),
        migrations.CreateModel(
            name='Competicao',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('nome_competicao', models.CharField(max_length=255, verbose_name='Nome')),
                ('data_competicao', models.DateTimeField(max_length=255, verbose_name='Data')),
                ('local_competicao', models.CharField(max_length=255, verbose_name='Local')),
                ('modalidade', models.CharField(choices=[('Corrida 100m rasos', 'Corrida 100m rasos'), ('Arremesso de dardos', 'Arremesso de dardos')], max_length=40, verbose_name='Modalidade')),
                ('em_progresso', models.BooleanField(default=True, verbose_name='Em progresso')),
            ],
        ),
        migrations.CreateModel(
            name='Participante',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('tempo_atleta', models.FloatField(blank=True, null=True, verbose_name='Tempo')),
                ('arremesso1_atleta', models.FloatField(blank=True, default=0, verbose_name='Arremesso 1')),
                ('arremesso2_atleta', models.FloatField(blank=True, default=0, verbose_name='Arremesso 2')),
                ('arremesso3_atleta', models.FloatField(blank=True, default=0, verbose_name='Arremesso 3')),
                ('arremesso_max', models.FloatField(blank=True, default=0, verbose_name='Arremesso máximo')),
                ('atleta', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to='competicao.atleta')),
                ('competicao', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to='competicao.competicao')),
            ],
        ),
    ]

# Generated by Django 3.2.4 on 2021-06-25 03:21