forked from ietf-tools/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path0001_initial.py
More file actions
38 lines (32 loc) · 1.2 KB
/
0001_initial.py
File metadata and controls
38 lines (32 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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'],
},
),
]