2022-02-18 15:48:58 -08:00
|
|
|
# Generated by Django 3.2.10 on 2022-02-18 23:46
|
2021-02-24 20:13:54 -08:00
|
|
|
|
|
|
|
from django.conf import settings
|
|
|
|
from django.db import migrations, models
|
|
|
|
import django.db.models.deletion
|
|
|
|
import uuid
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
initial = True
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
2022-02-18 15:48:58 -08:00
|
|
|
migrations.CreateModel(
|
|
|
|
name='EmailWhiteList',
|
|
|
|
fields=[
|
|
|
|
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
|
|
|
('email', models.EmailField(max_length=254, unique=True)),
|
|
|
|
],
|
|
|
|
options={
|
|
|
|
'abstract': False,
|
|
|
|
},
|
|
|
|
),
|
2021-02-24 20:13:54 -08:00
|
|
|
migrations.CreateModel(
|
|
|
|
name='Account',
|
|
|
|
fields=[
|
|
|
|
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
2022-02-18 15:48:58 -08:00
|
|
|
('totp_key', models.CharField(max_length=32, null=True)),
|
2021-02-24 20:13:54 -08:00
|
|
|
('use_totp', models.BooleanField(default=False)),
|
2022-02-18 15:48:58 -08:00
|
|
|
('twitter_handle', models.CharField(default='@Twitter', max_length=64)),
|
2021-02-24 20:13:54 -08:00
|
|
|
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
|
|
|
|
],
|
|
|
|
options={
|
|
|
|
'abstract': False,
|
|
|
|
},
|
|
|
|
),
|
|
|
|
]
|