# Generated by Django 5.0.6 on 2026-03-12 09:45

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('stiftung', '0050_generalize_email_rechnungsworkflow'),
    ]

    operations = [
        migrations.AlterField(
            model_name='emaileingang',
            name='destinataer',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='email_eingaenge', to='stiftung.destinataer', verbose_name='Destinataer'),
        ),
        migrations.AlterField(
            model_name='emaileingang',
            name='dokument_dateien',
            field=models.ManyToManyField(blank=True, help_text='Automatisch befuellte Anhaenge als Django-DMS-Dateien.', related_name='email_eingaenge', to='stiftung.dokumentdatei', verbose_name='DMS-Dokumente (Anhaenge)'),
        ),
        migrations.AlterField(
            model_name='emaileingang',
            name='paperless_dokument_ids',
            field=models.JSONField(blank=True, default=list, help_text='Veraltet – wird nach vollstaendiger Migration entfernt. Neue Anhaenge in dokument_dateien.', verbose_name='Paperless Dokument-IDs (Anhaenge, veraltet)'),
        ),
    ]
