# Generated by Django 4.0.5 on 2022-07-23 21:27

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('administration', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Announcement',
            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='zarzad_ogloszenia', verbose_name='Plik pdf')),
            ],
            options={
                'verbose_name': 'Ogłoszenie',
                'verbose_name_plural': 'Ogłoszenia',
            },
        ),
        migrations.CreateModel(
            name='Protocol',
            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='zarzad_protokolyuchwaly', verbose_name='Plik pdf')),
            ],
            options={
                'verbose_name': 'Protokół / Uchwała',
                'verbose_name_plural': 'Protokoły / Uchwały',
            },
        ),
        migrations.CreateModel(
            name='Regulation',
            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='zarzad_regulaminy', verbose_name='Plik pdf')),
            ],
            options={
                'verbose_name': 'Regulamin',
                'verbose_name_plural': 'Regulaminy',
            },
        ),
        migrations.CreateModel(
            name='Statute',
            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='zarzad_statuty', verbose_name='Plik pdf')),
            ],
            options={
                'verbose_name': 'Statut',
                'verbose_name_plural': 'Statuty',
            },
        ),
        migrations.RenameModel(
            old_name='AdministrationMember',
            new_name='Member',
        ),
        migrations.DeleteModel(
            name='AdministrationAnnouncement',
        ),
        migrations.DeleteModel(
            name='AdministrationProtocol',
        ),
        migrations.DeleteModel(
            name='AdministrationRegulation',
        ),
        migrations.DeleteModel(
            name='AdministrationStatute',
        ),
        migrations.AlterField(
            model_name='rodo',
            name='attachment',
            field=models.FileField(upload_to='zarzad_rodo', verbose_name='Plik pdf'),
        ),
    ]
