mirror of
https://github.com/adrigongv23/G26---Telemetry-Software.git
synced 2026-08-25 11:33:17 +02:00
30 lines
999 B
Python
30 lines
999 B
Python
# Generated by Django 6.0.2 on 2026-02-17 11:28
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Temporada',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('nombre', models.CharField(max_length=50, unique=True)),
|
|
('fecha_inicio', models.DateField()),
|
|
('fecha_fin', models.DateField()),
|
|
('presupuesto', models.DecimalField(decimal_places=2, default=0.0, max_digits=10)),
|
|
('actual', models.BooleanField(default=False, verbose_name='¿Es la temporada actual?')),
|
|
],
|
|
options={
|
|
'verbose_name': 'Temporada',
|
|
'verbose_name_plural': 'Temporadas',
|
|
'ordering': ['-fecha_inicio'],
|
|
},
|
|
),
|
|
]
|