# Generated by Django 5.2.5 on 2025-09-05 08:36

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('abschnitte', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Rolle',
            fields=[
                ('name', models.CharField(max_length=100, primary_key=True, serialize=False)),
            ],
            options={
                'verbose_name_plural': 'Rollen',
            },
        ),
        migrations.CreateModel(
            name='RollenBeschreibung',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('inhalt', models.TextField(blank=True, null=True)),
                ('order', models.PositiveIntegerField(default=0)),
                ('abschnitt', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='rollen.rolle')),
                ('abschnitttyp', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='abschnitte.abschnitttyp')),
            ],
            options={
                'verbose_name': 'Rollenbeschreibungs-Abschnitt',
                'verbose_name_plural': 'Rollenbeschreibung',
            },
        ),
    ]
