# Generated by Django 4.0.5 on 2022-06-22 21:44

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('core', '0002_membership'),
    ]

    operations = [
        migrations.CreateModel(
            name='Administration',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('type', models.IntegerField(choices=[(1, 'Statut'), (2, 'Ogłoszenie'), (3, 'Protokół / Ustawa'), (4, 'Regulamin')])),
                ('title', models.CharField(max_length=250, verbose_name='Tytuł')),
                ('attachment', models.FileField(upload_to='skladki', verbose_name='Plik pdf')),
                ('year', models.IntegerField(verbose_name='Rok')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
            ],
            options={
                'verbose_name': 'Plik zarządu',
                'verbose_name_plural': 'Pliki zarządu',
                'ordering': ['type', '-created_at'],
            },
        ),
    ]
