Files
stiftung-management-system/app/stiftung/migrations/0001_initial.py
Stiftung Development e0c7d0e351 Format code with Black and isort for CI/CD compliance
- Apply Black formatting to all Python files in core and stiftung modules
- Fix import statement ordering with isort
- Ensure all code meets automated quality standards
- Resolve CI/CD pipeline formatting failures
- Maintain consistent code style across the entire codebase
2025-09-06 21:04:07 +02:00

86 lines
2.7 KiB
Python

# Generated by Django 5.0.6 on 2025-08-13 20:59
import uuid
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = []
operations = [
migrations.CreateModel(
name="DokumentLink",
fields=[
(
"id",
models.UUIDField(
default=uuid.uuid4,
editable=False,
primary_key=True,
serialize=False,
),
),
("paperless_document_id", models.IntegerField()),
("kontext", models.CharField(max_length=30)),
("titel", models.CharField(max_length=255)),
],
),
migrations.CreateModel(
name="Person",
fields=[
(
"id",
models.UUIDField(
default=uuid.uuid4,
editable=False,
primary_key=True,
serialize=False,
),
),
("familienzweig", models.CharField(max_length=100)),
("vorname", models.CharField(max_length=100)),
("nachname", models.CharField(max_length=100)),
("geburtsdatum", models.DateField(blank=True, null=True)),
("email", models.EmailField(blank=True, max_length=254, null=True)),
("iban", models.CharField(blank=True, max_length=34, null=True)),
],
),
migrations.CreateModel(
name="Foerderung",
fields=[
(
"id",
models.UUIDField(
default=uuid.uuid4,
editable=False,
primary_key=True,
serialize=False,
),
),
("jahr", models.IntegerField()),
("betrag", models.DecimalField(decimal_places=2, max_digits=12)),
(
"verwendungsnachweis",
models.ForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.SET_NULL,
to="stiftung.dokumentlink",
),
),
(
"person",
models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
to="stiftung.person",
),
),
],
),
]