mirror of
https://github.com/TrentSPalmer/trentpalmerdotorg.git
synced 2024-11-16 15:11:30 -08:00
31 lines
904 B
Python
31 lines
904 B
Python
|
# Generated by Django 3.1.6 on 2021-02-21 22:18
|
||
|
|
||
|
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 = [
|
||
|
migrations.CreateModel(
|
||
|
name='Account',
|
||
|
fields=[
|
||
|
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
||
|
('totp_key', models.CharField(max_length=16, null=True)),
|
||
|
('use_totp', models.BooleanField(default=False)),
|
||
|
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
|
||
|
],
|
||
|
options={
|
||
|
'abstract': False,
|
||
|
},
|
||
|
),
|
||
|
]
|