1 # Generated by Django 2.1 on 2018-09-14 14:48
3 from django.db import migrations, models
4 import django.db.models.deletion
5 import fernet_fields.fields
8 class Migration(migrations.Migration):
13 ('account', '0001_initial'),
14 ('booking', '0001_initial'),
18 migrations.CreateModel(
21 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
22 ('msg', models.TextField()),
23 ('lab', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='account.Lab')),
26 migrations.CreateModel(
29 ('id', models.AutoField(primary_key=True, serialize=False)),
30 ('ending_notified', models.BooleanField(default=False)),
31 ('ended_notified', models.BooleanField(default=False)),
32 ('created_notified', models.BooleanField(default=False)),
33 ('booking', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='metabooking', to='booking.Booking')),
36 migrations.CreateModel(
39 ('id', models.AutoField(primary_key=True, serialize=False)),
40 ('title', models.CharField(max_length=240)),
41 ('content', fernet_fields.fields.EncryptedTextField()),
42 ('sender', models.CharField(default='unknown', max_length=240)),
43 ('message_type', models.CharField(choices=[('email', 'Email'), ('webnotification', 'Web Notification')], default='email', max_length=240)),
44 ('user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='account.UserProfile')),