# Generated by Django 4.2.19 on 2025-03-14 16:35

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


class Migration(migrations.Migration):

    dependencies = [
        ("auth", "0012_alter_user_first_name_max_length"),
        ("agenda_culturel", "0154_tag_message"),
    ]

    operations = [
        migrations.CreateModel(
            name="UserProfile",
            fields=[
                (
                    "user",
                    models.OneToOneField(
                        on_delete=django.db.models.deletion.CASCADE,
                        primary_key=True,
                        serialize=False,
                        to=settings.AUTH_USER_MODEL,
                    ),
                ),
                (
                    "is_moderation_expert",
                    models.BooleanField(
                        default=False,
                        help_text="This user is an expert in moderation, and the interface features additional functionalities.",
                        verbose_name="Expert moderation user",
                    ),
                ),
            ],
        ),
    ]
