summaryrefslogtreecommitdiffstats
path: root/src/notifier
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2020-12-08 15:49:31 -0500
committerSawyer Bergeron <sbergeron@iol.unh.edu>2020-12-09 15:17:24 -0500
commit14ad65c2e83f680246c1bf06573e3fcb19cdaa06 (patch)
tree29a1c4e85556a19d14dfcc064f0e791a2fa0bf24 /src/notifier
parent38152cc83eba4f8aa457dd35c824d042124cddd6 (diff)
Update booking detail page and API after model refactor
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: I2d1d5d7031c82a2088aa68b772c7bbdf225f3c9a Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Diffstat (limited to 'src/notifier')
-rw-r--r--src/notifier/migrations/0007_email.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/notifier/migrations/0007_email.py b/src/notifier/migrations/0007_email.py
new file mode 100644
index 0000000..aaac048
--- /dev/null
+++ b/src/notifier/migrations/0007_email.py
@@ -0,0 +1,23 @@
+# Generated by Django 2.2 on 2020-12-09 20:02
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('notifier', '0006_emailed'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Email',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('sent', models.BooleanField(default=False)),
+ ('title', models.CharField(max_length=150)),
+ ('message', models.TextField()),
+ ('recipient', models.CharField(max_length=150)),
+ ],
+ ),
+ ]