fix: add missing initial migration for promociones app
All checks were successful
DEPLOY_MULTI_BRACH/pipeline/head This commit looks good

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
minguezsanzjuanjose
2026-04-18 13:53:14 +02:00
parent 05e95f8880
commit a064895689

View File

@@ -0,0 +1,26 @@
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = []
operations = [
migrations.CreateModel(
name='Promocion',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('nombre', models.CharField(max_length=255)),
('fecha_inicio', models.DateField(blank=True, null=True)),
('fecha_modificacion', models.DateField(blank=True, null=True)),
('descripcion', models.TextField(blank=True, null=True)),
('activo', models.BooleanField(default=True)),
('categoria_id', models.IntegerField(blank=True, null=True)),
],
options={
'db_table': 'promociones',
},
),
]