# Generated by Django 5.2.8 on 2025-11-29 23:11

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('tickets', '0007_add_external_author_to_comment'),
    ]

    operations = [
        migrations.AddField(
            model_name='ticketemailsettings',
            name='smtp_from_email',
            field=models.EmailField(blank=True, default='', help_text='From email address for outgoing emails', max_length=254),
        ),
        migrations.AddField(
            model_name='ticketemailsettings',
            name='smtp_from_name',
            field=models.CharField(blank=True, default='', help_text="From name for outgoing emails (e.g., 'SmoothSchedule Support')", max_length=255),
        ),
        migrations.AddField(
            model_name='ticketemailsettings',
            name='smtp_host',
            field=models.CharField(blank=True, default='', help_text='SMTP server hostname (e.g., smtp.gmail.com)', max_length=255),
        ),
        migrations.AddField(
            model_name='ticketemailsettings',
            name='smtp_password',
            field=models.CharField(blank=True, default='', help_text='SMTP login password or app-specific password', max_length=255),
        ),
        migrations.AddField(
            model_name='ticketemailsettings',
            name='smtp_port',
            field=models.IntegerField(default=587, help_text='SMTP server port (587 for TLS, 465 for SSL, 25 for non-secure)'),
        ),
        migrations.AddField(
            model_name='ticketemailsettings',
            name='smtp_use_ssl',
            field=models.BooleanField(default=False, help_text='Use SSL/TLS encryption (usually for port 465)'),
        ),
        migrations.AddField(
            model_name='ticketemailsettings',
            name='smtp_use_tls',
            field=models.BooleanField(default=True, help_text='Use STARTTLS encryption'),
        ),
        migrations.AddField(
            model_name='ticketemailsettings',
            name='smtp_username',
            field=models.CharField(blank=True, default='', help_text='SMTP login username (usually email address)', max_length=255),
        ),
    ]
