web_defender/otpverification/migrations/0001_initial.py
2024-12-09 13:43:16 +05:30

26 lines
793 B
Python

# Generated by Django 5.1.1 on 2024-10-07 06:40
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
('Accounts', '0003_userprofile_company_name'),
]
operations = [
migrations.CreateModel(
name='OTPVerification',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('otp_code', models.CharField(max_length=6)),
('second_otp', models.CharField(blank=True, max_length=6, null=True)),
('email', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Accounts.userprofile')),
],
),
]