api contact

This commit is contained in:
javad committed 2026-09-30 08:39:26 +03:30
1 parent 0b56766f96
commit 04d2bc957f
14 files changed
+595 -1

No files matched your search

@@ -0,0 +1,20 @@
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"},
),
]