# Generated by Django 5.2.8 on 2026-02-03 14:48

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


class Migration(migrations.Migration):

    dependencies = [
        ('home', '0011_alter_articlecategory_options_and_more'),
        ('wagtailcore', '0096_referenceindex_referenceindex_source_object_and_more'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='generalpage',
            name='page_ptr',
        ),
        migrations.RemoveField(
            model_name='homepage',
            name='page_ptr',
        ),
        migrations.RemoveField(
            model_name='tenantsettings',
            name='logo',
        ),
        migrations.RemoveField(
            model_name='tenantsettings',
            name='site',
        ),
        migrations.AlterModelOptions(
            name='articlecategory',
            options={'ordering': ['name'], 'verbose_name': 'Article Category', 'verbose_name_plural': 'Article Categories'},
        ),
        migrations.RemoveField(
            model_name='articlepage',
            name='featured_image',
        ),
        migrations.RemoveField(
            model_name='articlepage',
            name='summary',
        ),
        migrations.AlterField(
            model_name='articlecategory',
            name='site',
            field=models.ForeignKey(default=1, editable=False, on_delete=django.db.models.deletion.CASCADE, related_name='article_categories', to='wagtailcore.site'),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='articlecategory',
            name='slug',
            field=models.SlugField(editable=False, max_length=255),
        ),
        migrations.AlterField(
            model_name='articlepage',
            name='category',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='articles', to='home.articlecategory'),
        ),
        migrations.AlterField(
            model_name='articlepage',
            name='date',
            field=models.DateField(),
        ),
        migrations.DeleteModel(
            name='ArticleIndexPage',
        ),
        migrations.DeleteModel(
            name='GeneralPage',
        ),
        migrations.DeleteModel(
            name='HomePage',
        ),
        migrations.DeleteModel(
            name='TenantSettings',
        ),
    ]
