Source code for users_api.migrations.0004_resetpasswordcode_setpasswordcode_and_more

# Generated by Django 4.1 on 2022-09-29 11:02
# flake8: noqa
# type: ignore
# pylint: skip-file

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


[docs] class Migration(migrations.Migration): dependencies = [ ('users_api', '0003_authenticationlog'), ] operations = [ migrations.CreateModel( name='ResetPasswordCode', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('path', models.CharField(max_length=255, unique=True)), ('created_at', models.DateTimeField(auto_now_add=True)), ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'db_table': 'reset_password_verification_codes', }, ), migrations.CreateModel( name='SetPasswordCode', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('path', models.CharField(max_length=255, unique=True)), ('created_at', models.DateTimeField(auto_now_add=True)), ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'db_table': 'set_password_verification_codes', }, ), migrations.DeleteModel( name='VerificationPath', ), ]