fix mobile and names

This commit is contained in:
javad committed 2026-10-15 11:21:55 +03:30
1 parent e3a6d1f9d4
commit 7e5c83bea2
12 files changed
+82792 -6

No files matched your search

@@ -0,0 +1,35 @@
# Generated by Django 3.2.25 on 2026-10-15 06:07
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('admin_panel', '0071_sms_settings_permission'),
]
operations = [
migrations.CreateModel(
name='CustomerNameFixJob',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('source_hash', models.CharField(max_length=64)),
('algorithm_version', models.CharField(default='1', max_length=16)),
('status', models.CharField(choices=[('running', 'در حال اجرا'), ('paused', 'متوقف\u200cشده (قابل ادامه)'), ('completed', 'تکمیل\u200cشده'), ('failed', 'ناموفق')], default='paused', max_length=16)),
('batch_size', models.PositiveIntegerField(default=200)),
('initial_max_pk', models.BigIntegerField(blank=True, null=True)),
('last_processed_pk', models.BigIntegerField(default=0)),
('stats', models.JSONField(blank=True, default=dict)),
('note', models.CharField(blank=True, default='', max_length=255)),
('started_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now=True)),
('finished_at', models.DateTimeField(blank=True, null=True)),
('heartbeat_at', models.DateTimeField(blank=True, null=True)),
],
options={
'verbose_name': 'job اصلاح نام مشتری',
'verbose_name_plural': 'jobهای اصلاح نام مشتری',
},
),
]