34 lines
1.3 KiB
Python
34 lines
1.3 KiB
Python
# Generated by Django 5.1.5 on 2026-03-09 14:55
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('workflows', '0012_seed_notification_templates'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='SystemEmailConfig',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('name', models.CharField(default='Default SMTP', max_length=120, unique=True)),
|
|
('is_active', models.BooleanField(default=False)),
|
|
('host', models.CharField(blank=True, max_length=255)),
|
|
('port', models.PositiveIntegerField(default=587)),
|
|
('username', models.CharField(blank=True, max_length=255)),
|
|
('password', models.CharField(blank=True, max_length=255)),
|
|
('use_tls', models.BooleanField(default=True)),
|
|
('use_ssl', models.BooleanField(default=False)),
|
|
('from_email', models.EmailField(blank=True, max_length=254)),
|
|
('updated_at', models.DateTimeField(auto_now=True)),
|
|
],
|
|
options={
|
|
'verbose_name': 'System SMTP Konfiguration',
|
|
'verbose_name_plural': 'System SMTP Konfigurationen',
|
|
},
|
|
),
|
|
]
|