Se agregaron partidas y modelos
This commit is contained in:
28
api/tasks/migrations/0001_initial.py
Normal file
28
api/tasks/migrations/0001_initial.py
Normal file
@@ -0,0 +1,28 @@
|
||||
# Generated by Django 5.2.3 on 2025-10-02 15:04
|
||||
|
||||
import django.db.models.deletion
|
||||
import django.db.models.fields
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
('customs', '0011_cove_acuse_cove_descargado_cove_cove_descargado_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Task',
|
||||
fields=[
|
||||
('task_id', models.UUIDField(default=django.db.models.fields.UUIDField, primary_key=True, serialize=False)),
|
||||
('timestamp', models.DateTimeField(auto_now_add=True)),
|
||||
('message', models.TextField()),
|
||||
('status', models.CharField(max_length=50)),
|
||||
('result', models.TextField(blank=True, null=True)),
|
||||
('pedimento', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='customs.pedimento')),
|
||||
],
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user