# Generated by Django 5.0.6 on 2024-05-14 22:54

import django.db.models.deletion
import modelcluster.fields
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('events', '0025_delete_featuredeventsorderable'),
        ('home', '0006_remove_event_page_ptr_delete_association_and_more'),
    ]

    operations = [
        migrations.CreateModel(
            name='HomePageFeaturedEvents',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('sort_order', models.IntegerField(blank=True, editable=False, null=True)),
                ('event', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='events.eventpage')),
                ('parent', modelcluster.fields.ParentalKey(on_delete=django.db.models.deletion.CASCADE, related_name='featured_events', to='home.homepage')),
            ],
            options={
                'abstract': False,
            },
        ),
    ]
