summaryrefslogtreecommitdiffstats
path: root/dashboard/src/notifier/migrations/0002_auto_20181102_1631.py
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2018-11-07 22:05:28 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-11-07 22:05:28 +0000
commit674812a20f6804c287e1355ec8a1adf907798a94 (patch)
tree8bdfde258ce78b38fe15d84fefdc42b22cdf6441 /dashboard/src/notifier/migrations/0002_auto_20181102_1631.py
parent027e8b3dfe84300b4c50ea6a39f8dc7e360f479d (diff)
parent81cfb043f06ab71da7c021a063f80f6df58305cc (diff)
Merge "Rewrite Notification subsystem"
Diffstat (limited to 'dashboard/src/notifier/migrations/0002_auto_20181102_1631.py')
-rw-r--r--dashboard/src/notifier/migrations/0002_auto_20181102_1631.py44
1 files changed, 44 insertions, 0 deletions
diff --git a/dashboard/src/notifier/migrations/0002_auto_20181102_1631.py b/dashboard/src/notifier/migrations/0002_auto_20181102_1631.py
new file mode 100644
index 0000000..e5fef89
--- /dev/null
+++ b/dashboard/src/notifier/migrations/0002_auto_20181102_1631.py
@@ -0,0 +1,44 @@
+# Generated by Django 2.1 on 2018-11-02 16:31
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('account', '0003_publicnetwork'),
+ ('notifier', '0001_initial'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Notification',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('title', models.CharField(max_length=150)),
+ ('content', models.TextField()),
+ ('recipients', models.ManyToManyField(to='account.UserProfile')),
+ ],
+ ),
+ migrations.RemoveField(
+ model_name='labmessage',
+ name='lab',
+ ),
+ migrations.RemoveField(
+ model_name='metabooking',
+ name='booking',
+ ),
+ migrations.RemoveField(
+ model_name='notifier',
+ name='user',
+ ),
+ migrations.DeleteModel(
+ name='LabMessage',
+ ),
+ migrations.DeleteModel(
+ name='MetaBooking',
+ ),
+ migrations.DeleteModel(
+ name='Notifier',
+ ),
+ ]