Initial commit (Clean history)
This commit is contained in:
29
app/migrations/0064_phone_otp.py
Normal file
29
app/migrations/0064_phone_otp.py
Normal file
@@ -0,0 +1,29 @@
|
||||
# Generated by Django 5.1.7 on 2025-05-30 01:37
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('app', '0063_collaborator_status'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Phone_Otp',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('code', models.CharField(max_length=30, unique=True)),
|
||||
('phone', models.CharField(max_length=10)),
|
||||
('otp', models.CharField(max_length=10)),
|
||||
('valid_to', models.DateTimeField(null=True)),
|
||||
('expiry', models.BooleanField(default=False)),
|
||||
('create_time', models.DateTimeField(auto_now_add=True, null=True)),
|
||||
('update_time', models.DateTimeField(null=True)),
|
||||
],
|
||||
options={
|
||||
'db_table': 'phone_otp',
|
||||
},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user