# Generated by Django 5.2.8 on 2025-12-01 21:35

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


class Migration(migrations.Migration):

    dependencies = [
        ('platform_admin', '0007_platformemailaddress'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.AddField(
            model_name='platformemailaddress',
            name='assigned_user',
            field=models.ForeignKey(blank=True, help_text='User associated with this email. If set, their name is used as sender name.', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='platform_email_addresses', to=settings.AUTH_USER_MODEL),
        ),
        migrations.AddField(
            model_name='platformemailaddress',
            name='sender_name',
            field=models.CharField(blank=True, default='', help_text="Name to show in From header (e.g., 'SmoothSchedule Support'). If blank, uses display_name.", max_length=100),
        ),
    ]
