add status functionality
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 5.2.1 on 2025-05-26 07:11
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('routes', '0006_alter_city_id_alter_country_id_alter_leads_id_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='route',
|
||||
name='created_at',
|
||||
field=models.DateTimeField(auto_now_add=True, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='route',
|
||||
name='status',
|
||||
field=models.CharField(choices=[('actual', 'Актуально'), ('canceled', 'Отменено'), ('completed', 'Завершено')], default='actual', max_length=20),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user