dashboard/accounts/migrations/0004_accountconfirmchalleng...

39 lines
1.1 KiB
Python
Raw Normal View History

# Generated by Django 4.0.3 on 2022-06-10 16:44
import accounts.utils
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("accounts", "0003_alter_accountconfirmchallenge_owned_by"),
]
operations = [
migrations.AddField(
model_name="accountconfirmchallenge",
name="public_ref",
field=models.CharField(
default=accounts.utils.gen_secret,
editable=False,
max_length=32,
unique=True,
verbose_name="Public referece to challenge text",
),
),
migrations.AlterField(
model_name="accountconfirmchallenge",
name="challenge_text",
field=models.CharField(
default=accounts.utils.gen_secret,
editable=False,
max_length=32,
primary_key=True,
serialize=False,
unique=True,
verbose_name="Challenge text",
),
),
]