Files
tripwithbonus/backend/routes/migrations/0004_leads.py
2025-05-24 14:14:44 +03:00

28 lines
856 B
Python

# Generated by Django 5.2.1 on 2025-05-24 11:12
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('routes', '0003_alter_route_owner_type'),
]
operations = [
migrations.CreateModel(
name='Leads',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('moving_date', models.DateField()),
('comment', models.CharField(blank=True, max_length=500, null=True)),
('created_at', models.DateTimeField(auto_now_add=True)),
],
options={
'verbose_name': 'Заявка',
'verbose_name_plural': 'Заявки',
'ordering': ['-created_at'],
},
),
]