# Generated by Django 4.0.5 on 2022-07-06 23:45

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('core', '0005_alter_administration_year'),
    ]

    operations = [
        migrations.CreateModel(
            name='AdministrationAnnouncement',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('year', models.IntegerField(blank=True, null=True, verbose_name='Rok')),
                ('title', models.CharField(max_length=250, verbose_name='Tytuł')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('attachment', models.FileField(upload_to='announcements', verbose_name='Plik pdf')),
            ],
            options={
                'verbose_name': 'Zarząd - Ogłoszenie',
                'verbose_name_plural': 'Zarząd - Ogłoszenia',
            },
        ),
        migrations.CreateModel(
            name='AdministrationMember',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('ordering', models.PositiveIntegerField(default=0, verbose_name='ordering')),
                ('name', models.CharField(max_length=512, verbose_name='Imię i nazwisko')),
                ('contact', models.CharField(max_length=512, verbose_name='Dane kontaktowe')),
                ('function', models.CharField(max_length=512, verbose_name='Funkcja')),
            ],
            options={
                'verbose_name': 'Zarząd - Członek',
                'verbose_name_plural': 'Zarząd - Członkowie',
                'ordering': ['ordering'],
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='AdministrationProtocol',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('year', models.IntegerField(blank=True, null=True, verbose_name='Rok')),
                ('title', models.CharField(max_length=250, verbose_name='Tytuł')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('attachment', models.FileField(upload_to='protocols', verbose_name='Plik pdf')),
            ],
            options={
                'verbose_name': 'Zarząd - Protokół / Uchwała',
                'verbose_name_plural': 'Zarząd - Protokoły / Uchwały',
            },
        ),
        migrations.CreateModel(
            name='AdministrationRegulation',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('year', models.IntegerField(blank=True, null=True, verbose_name='Rok')),
                ('title', models.CharField(max_length=250, verbose_name='Tytuł')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('attachment', models.FileField(upload_to='regulations', verbose_name='Plik pdf')),
            ],
            options={
                'verbose_name': 'Zarząd - Regulamin',
                'verbose_name_plural': 'Zarząd - Regulaminy',
            },
        ),
        migrations.CreateModel(
            name='AdministrationStatute',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('year', models.IntegerField(blank=True, null=True, verbose_name='Rok')),
                ('title', models.CharField(max_length=250, verbose_name='Tytuł')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('attachment', models.FileField(upload_to='statutes', verbose_name='Plik pdf')),
            ],
            options={
                'verbose_name': 'Zarząd - Statut',
                'verbose_name_plural': 'Zarząd - Statuty',
            },
        ),
        migrations.CreateModel(
            name='Calendar',
            fields=[
                ('year', models.IntegerField(primary_key=True, serialize=False, verbose_name='Rok')),
                ('content', models.TextField(verbose_name='Kalendarz')),
            ],
            options={
                'verbose_name': 'Kalendarz',
                'verbose_name_plural': 'Kalendarze',
                'ordering': ['-year'],
            },
        ),
        migrations.CreateModel(
            name='GrandPrix',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('content', models.TextField(verbose_name='Tekst GPB')),
            ],
            options={
                'verbose_name': 'Grand Prix Białegostoku',
                'verbose_name_plural': 'Grand Prix Białegostoku',
            },
        ),
        migrations.CreateModel(
            name='ThirdLeague',
            fields=[
                ('year', models.IntegerField(primary_key=True, serialize=False, verbose_name='Rok')),
                ('link', models.CharField(max_length=512, verbose_name='Link do wyników')),
            ],
            options={
                'verbose_name': 'Wyniki III Ligi',
                'verbose_name_plural': 'Wyniki III Ligi',
                'ordering': ['-year'],
            },
        ),
        migrations.DeleteModel(
            name='Administration',
        ),
        migrations.RemoveField(
            model_name='membership',
            name='id',
        ),
        migrations.AlterField(
            model_name='membership',
            name='year',
            field=models.IntegerField(primary_key=True, serialize=False, verbose_name='Rok'),
        ),
    ]
