# Generated by Django 2.0 on 2018-05-13 23:43 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('accounts', '0003_auto_20180304_1649'), ] operations = [ migrations.CreateModel( name='EmailRecord', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('when', models.DateTimeField(auto_now_add=True)), ('email', models.EmailField(max_length=254)), ('subject', models.CharField(max_length=128)), ('body', models.TextField(max_length=1024)), ('ok', models.BooleanField(default=True)), ('recipient', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='recv_messages', to=settings.AUTH_USER_MODEL)), ('sender', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='sent_messages', to=settings.AUTH_USER_MODEL)), ], ), ]