2022-04-13 12:24:56 +00:00
|
|
|
# Generated by Django 3.1.14 on 2022-04-08 07:04
|
|
|
|
|
|
|
|
from django.db import migrations, models
|
|
|
|
import uuid
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
('authentication', '0009_auto_20220310_0616'),
|
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='TempToken',
|
|
|
|
fields=[
|
|
|
|
('id', models.UUIDField(default=uuid.uuid4, primary_key=True, serialize=False)),
|
|
|
|
('created_by', models.CharField(blank=True, max_length=32, null=True, verbose_name='Created by')),
|
|
|
|
('updated_by', models.CharField(blank=True, max_length=32, null=True, verbose_name='Updated by')),
|
|
|
|
('date_created', models.DateTimeField(auto_now_add=True, null=True, verbose_name='Date created')),
|
|
|
|
('date_updated', models.DateTimeField(auto_now=True, verbose_name='Date updated')),
|
|
|
|
('username', models.CharField(max_length=128, verbose_name='Username')),
|
|
|
|
('secret', models.CharField(max_length=64, verbose_name='Secret')),
|
|
|
|
('verified', models.BooleanField(default=False, verbose_name='Verified')),
|
|
|
|
('date_verified', models.DateTimeField(null=True, verbose_name='Date verified')),
|
2022-04-19 02:34:17 +00:00
|
|
|
('date_expired', models.DateTimeField(verbose_name='Date expired')),
|
2022-04-13 12:24:56 +00:00
|
|
|
],
|
|
|
|
options={
|
|
|
|
'verbose_name': 'Temporary token',
|
|
|
|
},
|
|
|
|
),
|
|
|
|
]
|