from django.db import migrations, models


class Migration(migrations.Migration):
    """
    Record the brands module in MODULE_CHOICES.

    Nothing changes in the database. `choices` is validation metadata that
    Django keeps in its own migration state, not a constraint Postgres knows
    about, so this alters no column and locks no table.

    It exists because without it every `migrate` prints "your models in
    app(s) 'tenants' have changes that are not yet reflected in a migration",
    and a warning that appears on every deploy is a warning nobody reads.
    """

    dependencies = [
        ('tenants', '0023_module_log_source_labels'),
    ]

    operations = [
        migrations.AlterField(
            model_name='tenantmodulelog',
            name='module',
            field=models.CharField(choices=[('homepage', 'Homepage Editor'), ('portfolio', 'Portfolio'), ('insights', 'Blog / Insights'), ('services', 'Services'), ('faq', 'Support & FAQ'), ('contact', 'Contact Form'), ('tickets', 'Tickets & Support'), ('chat', 'AI Chat Widget'), ('ecommerce', 'E-commerce (Products & Orders)'), ('auction', 'Domain Auction'), ('marketplace', 'Marketplace'), ('media', 'Media Hub'), ('consent', 'Cookie Consent (add-on)'), ('gallery', 'Gallery'), ('menu', 'Menu / Food & Drink'), ('events', 'Events & Bookings'), ('analytics', 'Analytics & Reporting'), ('crm', 'CRM & Sales Pipeline'), ('startup', 'Startup Solutions'), ('brands', 'Brands / Sub-brands')], max_length=30),
        ),
        migrations.AlterField(
            model_name='tenantmodule',
            name='module',
            field=models.CharField(choices=[('homepage', 'Homepage Editor'), ('portfolio', 'Portfolio'), ('insights', 'Blog / Insights'), ('services', 'Services'), ('faq', 'Support & FAQ'), ('contact', 'Contact Form'), ('tickets', 'Tickets & Support'), ('chat', 'AI Chat Widget'), ('ecommerce', 'E-commerce (Products & Orders)'), ('auction', 'Domain Auction'), ('marketplace', 'Marketplace'), ('media', 'Media Hub'), ('consent', 'Cookie Consent (add-on)'), ('gallery', 'Gallery'), ('menu', 'Menu / Food & Drink'), ('events', 'Events & Bookings'), ('analytics', 'Analytics & Reporting'), ('crm', 'CRM & Sales Pipeline'), ('startup', 'Startup Solutions'), ('brands', 'Brands / Sub-brands')], max_length=30),
        ),
    ]
