# Generated by Django 5.2.7 on 2025-11-07 11:01

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Club',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('reg_year', models.CharField(max_length=204)),
                ('status', models.CharField(choices=[('Pending', 'Pending'), ('Approved', 'Approved'), ('Unapproved', 'Unapproved'), ('Delete', 'Delete')], default='Unapproved', max_length=20)),
                ('club_name', models.CharField(max_length=100)),
                ('division', models.CharField(max_length=50)),
                ('foundation_date', models.DateField()),
                ('state_fa', models.CharField(max_length=100)),
                ('contact_person', models.CharField(max_length=100)),
                ('telephone', models.CharField(max_length=20)),
                ('email', models.EmailField(max_length=254)),
                ('home_venue', models.CharField(max_length=100)),
                ('first_jersey_shirt', models.CharField(max_length=50)),
                ('first_jersey_short', models.CharField(max_length=50)),
                ('first_jersey_hose', models.CharField(max_length=50)),
                ('second_jersey_shirt', models.CharField(max_length=50)),
                ('second_jersey_short', models.CharField(max_length=50)),
                ('second_jersey_hose', models.CharField(max_length=50)),
                ('state_fa_affiliation', models.FileField(storage=core.models.PublicMediaStorage(), upload_to='documents/')),
                ('registration_receipt', models.FileField(storage=core.models.PublicMediaStorage(), upload_to='documents/')),
                ('cac_certificate', models.FileField(storage=core.models.PublicMediaStorage(), upload_to='documents/')),
                ('audited_financials', models.FileField(storage=core.models.PublicMediaStorage(), upload_to='documents/')),
                ('insurance_document', models.FileField(storage=core.models.PublicMediaStorage(), upload_to='documents/')),
                ('stadium_document', models.FileField(storage=core.models.PublicMediaStorage(), upload_to='documents/')),
                ('club_logo', models.ImageField(storage=core.models.PublicMediaStorage(), upload_to='logos/')),
                ('date_created', models.DateField(auto_now_add=True)),
                ('updated_at', models.DateField(auto_now=True)),
            ],
        ),
        migrations.CreateModel(
            name='Official',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=100)),
                ('designation', models.CharField(max_length=100)),
                ('sex', models.CharField(max_length=10)),
                ('status', models.CharField(default='Unapproved', max_length=12)),
                ('is_coach', models.BooleanField(default=False)),
                ('coaching_certificate_obtained', models.CharField(blank=True, max_length=100, null=True)),
                ('certificate_year', models.PositiveIntegerField(blank=True, null=True)),
                ('certificate_upload', models.FileField(blank=True, null=True, storage=core.models.PublicMediaStorage(), upload_to='documents/')),
                ('passport_photo', models.ImageField(storage=core.models.PublicMediaStorage(), upload_to='photos/')),
                ('date_created', models.DateField(auto_now_add=True)),
                ('updated_at', models.DateField(auto_now=True)),
            ],
        ),
    ]
