21 lines
799 B
Python
21 lines
799 B
Python
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
initial = True
|
|
|
|
dependencies = []
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="PhoneContactApiKey",
|
|
fields=[
|
|
("id", models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name="ID")),
|
|
("key_hash", models.CharField(editable=False, max_length=128)),
|
|
("is_active", models.BooleanField(default=True, verbose_name="فعال")),
|
|
("updated_at", models.DateTimeField(auto_now=True, verbose_name="آخرین تغییر")),
|
|
],
|
|
options={"verbose_name": "کلید API مخاطبان Phone", "verbose_name_plural": "کلید API مخاطبان Phone"},
|
|
),
|
|
]
|