cmc-sales/cmc-django/cmcsales/cmc/migrations/0001_initial.py
Karl Cordes 6ad0e74ad6 Add instructions to README for docker compose
add cmc-django
add finley to userpasswd
2025-06-03 07:28:32 +10:00

34 lines
1.1 KiB
Python

# Generated by Django 5.1.2 on 2024-10-30 22:33
import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
name='Enquiry',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now=True)),
('submitted', models.DateField(blank=True, null=True)),
('title', models.CharField(max_length=255)),
('principle_code', models.IntegerField(db_comment='Numeric Principle Code')),
('user', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to=settings.AUTH_USER_MODEL)),
],
options={
'db_table': 'enquiry',
'ordering': ['id'],
},
),
]