mirror of https://github.com/jumpserver/jumpserver
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.4 KiB
33 lines
1.4 KiB
# 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')),
|
|
('date_expired', models.DateTimeField(verbose_name='Date expired')),
|
|
],
|
|
options={
|
|
'verbose_name': 'Temporary token',
|
|
},
|
|
),
|
|
]
|