# Generated by Django 4.2.19 on 2025-05-30 10:10

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('events', '0021_alter_gallery_unique_together_and_more'),
    ]

    operations = [
        migrations.CreateModel(
            name='SectionImage',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('section', models.CharField(choices=[('join_community', 'Join Community Section'), ('about', 'About Section'), ('hero', 'Hero Section'), ('event', 'Event Section')], help_text='The section where this image will be displayed', max_length=50, unique=True)),
                ('title', models.CharField(help_text='A descriptive title for the image', max_length=100)),
                ('image', models.ImageField(help_text='Image for the section (recommended size: 800x600px)', upload_to='section_images/')),
                ('caption', models.CharField(blank=True, help_text='Optional caption for the image', max_length=200)),
                ('is_active', models.BooleanField(default=True, help_text='Only active images will be shown')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
            ],
            options={
                'verbose_name': 'Section Image',
                'verbose_name_plural': 'Section Images',
            },
        ),
    ]
