summaryrefslogtreecommitdiffstats
path: root/src/notifier/migrations/0002_auto_20181102_1631.py
blob: e5fef89d11c07cfaa2a9e792174ffde91975ea9f (plain)
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
39
40
41
42
43
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',
        ),
    ]