# Generated by Django 5.0.6 on 2026-03-12 08:11

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('stiftung', '0048_phase3_dms_dokument_datei'),
    ]

    operations = [
        migrations.AddField(
            model_name='destinataeremaileingang',
            name='dokument_dateien',
            field=models.ManyToManyField(blank=True, help_text='Automatisch befüllte Anhänge als Django-DMS-Dateien.', related_name='email_eingaenge', to='stiftung.dokumentdatei', verbose_name='DMS-Dokumente (Anhänge)'),
        ),
        migrations.AlterField(
            model_name='appconfiguration',
            name='category',
            field=models.CharField(choices=[('paperless', 'Paperless Integration'), ('email', 'E-Mail / IMAP'), ('general', 'General Settings'), ('corporate', 'Corporate Identity'), ('notifications', 'Notifications'), ('system', 'System Settings')], default='general', max_length=50, verbose_name='Category'),
        ),
        migrations.AlterField(
            model_name='appconfiguration',
            name='setting_type',
            field=models.CharField(choices=[('text', 'Text'), ('password', 'Password'), ('number', 'Number'), ('boolean', 'Boolean'), ('url', 'URL'), ('tag', 'Tag Name'), ('tag_id', 'Tag ID')], default='text', max_length=20, verbose_name='Type'),
        ),
        migrations.AlterField(
            model_name='destinataeremaileingang',
            name='paperless_dokument_ids',
            field=models.JSONField(blank=True, default=list, help_text='Veraltet – wird nach vollständiger Migration entfernt. Neue Anhänge in dokument_dateien.', verbose_name='Paperless Dokument-IDs (Anhänge, veraltet)'),
        ),
    ]
