# Generated by Django 5.1.6 on 2025-12-26 14:10

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


class Migration(migrations.Migration):

    dependencies = [
        ("contenttypes", "0002_remove_content_type_name"),
        ("core", "0003_pageviewevent_slughistoryevent_and_more"),
    ]

    operations = [
        migrations.AlterModelOptions(
            name="slughistory",
            options={
                "ordering": ["-created_at"],
                "verbose_name": "Slug History",
                "verbose_name_plural": "Slug Histories",
            },
        ),
        migrations.AlterField(
            model_name="slughistory",
            name="content_type",
            field=models.ForeignKey(
                help_text="Type of model this slug belongs to",
                on_delete=django.db.models.deletion.CASCADE,
                to="contenttypes.contenttype",
            ),
        ),
        migrations.AlterField(
            model_name="slughistory",
            name="object_id",
            field=models.CharField(help_text="ID of the object this slug belongs to", max_length=50),
        ),
        migrations.AlterField(
            model_name="slughistory",
            name="old_slug",
            field=models.SlugField(help_text="Previous slug value", max_length=200),
        ),
        migrations.AlterField(
            model_name="slughistoryevent",
            name="content_type",
            field=models.ForeignKey(
                db_constraint=False,
                help_text="Type of model this slug belongs to",
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                related_query_name="+",
                to="contenttypes.contenttype",
            ),
        ),
        migrations.AlterField(
            model_name="slughistoryevent",
            name="object_id",
            field=models.CharField(help_text="ID of the object this slug belongs to", max_length=50),
        ),
        migrations.AlterField(
            model_name="slughistoryevent",
            name="old_slug",
            field=models.SlugField(db_index=False, help_text="Previous slug value", max_length=200),
        ),
    ]
