GetTogether/accounts/migrations/0002_auto_20180226_1532.py

31 lines
1 KiB
Python

# Generated by Django 2.0 on 2018-02-26 15:32
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', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='EmailConfirmation',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('email', models.CharField(max_length=256)),
('key', models.CharField(max_length=256)),
('expires', models.DateTimeField()),
('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
],
),
migrations.AddField(
model_name='account',
name='is_email_confirmed',
field=models.BooleanField(default=False),
),
]