37066-vm/core/migrations/0001_initial.py
Flatlogic Bot 7b7902f706 Simple CRM
2025-12-19 12:36:27 +00:00

29 lines
1.1 KiB
Python

# Generated by Django 5.2.7 on 2025-12-19 12:35
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Contact',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('first_name', models.CharField(max_length=100)),
('last_name', models.CharField(max_length=100)),
('email', models.EmailField(max_length=254)),
('phone', models.CharField(blank=True, max_length=20)),
('company', models.CharField(blank=True, max_length=100)),
('status', models.CharField(choices=[('Lead', 'Lead'), ('Contacted', 'Contacted'), ('Customer', 'Customer'), ('Lost', 'Lost')], default='Lead', max_length=20)),
('created_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now=True)),
],
),
]