39 lines
1.2 KiB
Python
39 lines
1.2 KiB
Python
# Generated by Django 2.2.28 on 2023-03-20 19:22
|
|
|
|
from typing import List, Tuple
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies: List[Tuple[str, str]] = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Recipient',
|
|
fields=[
|
|
('slug', models.CharField(max_length=32, primary_key=True, serialize=False)),
|
|
('desc', models.TextField(blank=True)),
|
|
('template', models.TextField(blank=True, null=True)),
|
|
],
|
|
options={
|
|
'ordering': ['slug'],
|
|
},
|
|
),
|
|
migrations.CreateModel(
|
|
name='MailTrigger',
|
|
fields=[
|
|
('slug', models.CharField(max_length=64, primary_key=True, serialize=False)),
|
|
('desc', models.TextField(blank=True)),
|
|
('cc', models.ManyToManyField(blank=True, related_name='used_in_cc', to='mailtrigger.Recipient')),
|
|
('to', models.ManyToManyField(blank=True, related_name='used_in_to', to='mailtrigger.Recipient')),
|
|
],
|
|
options={
|
|
'ordering': ['slug'],
|
|
},
|
|
),
|
|
]
|