# Generated by Django 4.2.19 on 2025-03-11 10:30

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('events', '0012_alter_agenda_options_remove_agenda_speaker_and_more'),
    ]

    operations = [
        migrations.CreateModel(
            name='CarouselImage',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(help_text='A descriptive title for the image', max_length=100)),
                ('image', models.ImageField(help_text='Recommended size: 1920x1080px. Images will be cropped/scaled to fit.', upload_to='carousel/')),
                ('caption', models.CharField(blank=True, help_text='Optional caption to display over the image', max_length=200)),
                ('is_active', models.BooleanField(default=True, help_text='Only active images will be shown in the carousel')),
                ('order', models.PositiveIntegerField(default=0, help_text='Images will be displayed in ascending order')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
            ],
            options={
                'verbose_name': 'Carousel Image',
                'verbose_name_plural': 'Carousel Images',
                'ordering': ['order', '-created_at'],
            },
        ),
    ]
