foerderbarometer/input/migrations/0101_alter_projectrequest_o...

58 lines
2.3 KiB
Python

# Generated by Django 5.2.5 on 2025-09-28 22:27
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('input', '0100_projectrequest_projectsdeclined'),
]
operations = [
migrations.AlterModelOptions(
name='projectrequest',
options={'ordering': ('-id',), 'verbose_name': 'Projektförderungs-Antrag (< 1000 EUR)', 'verbose_name_plural': 'Projects_requested'},
),
migrations.AlterModelOptions(
name='projectsdeclined',
options={'ordering': ('-decision_date', '-id'), 'verbose_name_plural': 'Projects_declined'},
),
migrations.AlterField(
model_name='projectrequest',
name='cost',
field=models.IntegerField(validators=[django.core.validators.MinValueValidator(0), django.core.validators.MaxValueValidator(1000)], verbose_name='Höhe der Projektkosten'),
),
migrations.AlterField(
model_name='projectrequest',
name='decision',
field=models.CharField(choices=[('OPEN', 'offen'), ('APPROVED', 'bewilligt'), ('DECLINED', 'abgelehnt')], db_index=True, default='OPEN', max_length=10),
),
migrations.AlterField(
model_name='projectrequest',
name='decision_date',
field=models.DateField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='projectrequest',
name='insurance',
field=models.BooleanField(default=False, verbose_name='Versicherung gewünscht?'),
),
migrations.AlterField(
model_name='projectrequest',
name='location',
field=models.CharField(blank=True, max_length=2000, null=True, verbose_name='Ort'),
),
migrations.AlterField(
model_name='projectrequest',
name='participants_estimated',
field=models.IntegerField(validators=[django.core.validators.MinValueValidator(0)], verbose_name='Zahl der Teilnehmenden'),
),
migrations.AlterField(
model_name='projectsdeclined',
name='original_request_id',
field=models.PositiveIntegerField(),
),
]