﷽
اولین کامیت پروژه پایاچت
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# Generated by Django 5.2.18 on 2026-10-28 17:48
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('accounts', '0004_customuser_avatar_customuser_bio'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='OTPCode',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('phone_number', models.CharField(db_index=True, max_length=11)),
|
||||
('code', models.CharField(max_length=6)),
|
||||
('is_used', models.BooleanField(default=False)),
|
||||
('created_at', models.DateTimeField(auto_now_add=True)),
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'کد تأیید',
|
||||
'verbose_name_plural': 'کدهای تأیید',
|
||||
'ordering': ['-created_at'],
|
||||
},
|
||||
),
|
||||
migrations.AlterModelOptions(
|
||||
name='customuser',
|
||||
options={'verbose_name': 'حساب کاربری', 'verbose_name_plural': 'حساب های کاربری'},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user