Files
Rasadyar_RSI/app/migrations/0020_killhouse.py
2026-01-18 11:29:19 +03:30

37 lines
1.7 KiB
Python

# Generated by Django 3.2.13 on 2025-04-07 05:00
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import uuid
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('app', '0019_hatching_capacityfemale'),
]
operations = [
migrations.CreateModel(
name='KillHouse',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('key', models.UUIDField(default=uuid.uuid4, editable=False, unique=True)),
('create_date', models.DateTimeField(auto_now_add=True)),
('modify_date', models.DateTimeField(auto_now=True)),
('trash', models.BooleanField(default=False)),
('PartIdCode', models.CharField(blank=True, max_length=250, null=True)),
('UnitName', models.CharField(blank=True, max_length=250, null=True)),
('Province', models.CharField(blank=True, max_length=250, null=True)),
('City', models.CharField(blank=True, max_length=250, null=True)),
('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouse_createdby', to=settings.AUTH_USER_MODEL)),
('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouse_modifiedby', to=settings.AUTH_USER_MODEL)),
],
options={
'abstract': False,
},
),
]