from django.db import migrations, models


class Migration(migrations.Migration):
    """Choices only: adds the alert type to EmailLog. No data change."""

    dependencies = [('ecommerce', '0031_emaillog_is_archived')]

    operations = [
        migrations.AlterField(
            model_name='emaillog',
            name='email_type',
            field=models.CharField(choices=[
                ('order_confirmation', 'Order Confirmation'),
                ('admin_notification', 'Admin Notification'),
                ('quote', 'Quote'),
                ('deal', 'Deal Agreement'),
                ('otp', 'OTP / 2FA'),
                ('order_cancellation', 'Cancellation'),
                ('alert', 'Urgent Alert'),
                ('other', 'Other'),
            ], default='other', max_length=40),
        ),
    ]
