# Generated by Django 5.2.6 on 2025-09-22 20:43

import uuid

from django.db import migrations, models

import modelsearch.index


class Migration(migrations.Migration):
    dependencies = [
        ("searchtests", "0001_initial"),
    ]

    operations = [
        migrations.CreateModel(
            name="AdvertWithCustomUUIDPrimaryKey",
            fields=[
                (
                    "advert_id",
                    models.UUIDField(
                        default=uuid.uuid4,
                        editable=False,
                        primary_key=True,
                        serialize=False,
                    ),
                ),
                ("text", models.CharField(max_length=255)),
            ],
            bases=(modelsearch.index.Indexed, models.Model),
        ),
    ]
