c3lf-system-3/core/shipments/migrations/0001_initial.py

37 lines
1.3 KiB
Python

# Generated by Django 4.2.7 on 2025-03-15 21:37
from django.db import migrations, models
import django.db.models.manager
import uuid
class Migration(migrations.Migration):
initial = True
dependencies = [
('inventory', '0007_rename_container_item_container_old_itemplacement_and_more'),
('tickets', '0013_alter_statechange_state'),
]
operations = [
migrations.CreateModel(
name='Shipment',
fields=[
('is_deleted', models.BooleanField(default=False)),
('deleted_at', models.DateTimeField(blank=True, null=True)),
('id', models.AutoField(primary_key=True, serialize=False)),
('public_secret', models.UUIDField(default=uuid.uuid4)),
('created_at', models.DateTimeField(auto_now_add=True, null=True)),
('updated_at', models.DateTimeField(blank=True, null=True)),
('related_items', models.ManyToManyField(to='inventory.item')),
('related_tickets', models.ManyToManyField(to='tickets.issuethread')),
],
options={
'abstract': False,
},
managers=[
('all_objects', django.db.models.manager.Manager()),
],
),
]