# Generated by Django 4.2.23 on 2025-06-30 18:45

from django.db import migrations


class Migration(migrations.Migration):

    dependencies = [
        ('dab_rbac', '0006_remote_data_reverse'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='dabpermission',
            name='content_type',
        ),
        migrations.RemoveField(
            model_name='objectrole',
            name='content_type',
        ),
        migrations.RemoveField(
            model_name='roledefinition',
            name='content_type',
        ),
        migrations.RemoveField(
            model_name='roleteamassignment',
            name='content_type',
        ),
        migrations.RemoveField(
            model_name='roleuserassignment',
            name='content_type',
        ),
        migrations.RemoveField(
            model_name='roleevaluation',
            name='content_type_id',
        ),
        migrations.RemoveField(
            model_name='roleevaluationuuid',
            name='content_type_id',
        ),
        # Rename the new content type field
        migrations.RenameField(
            model_name='dabpermission',
            old_name='new_content_type',
            new_name='content_type',
        ),
        migrations.RenameField(
            model_name='objectrole',
            old_name='new_content_type',
            new_name='content_type',
        ),
        migrations.RenameField(
            model_name='roledefinition',
            old_name='new_content_type',
            new_name='content_type',
        ),
        migrations.RenameField(
            model_name='roleteamassignment',
            old_name='new_content_type',
            new_name='content_type',
        ),
        migrations.RenameField(
            model_name='roleuserassignment',
            old_name='new_content_type',
            new_name='content_type',
        ),
        migrations.RenameField(
            model_name='roleevaluation',
            old_name='new_content_type_id',
            new_name='content_type_id',
        ),
        migrations.RenameField(
            model_name='roleevaluationuuid',
            old_name='new_content_type_id',
            new_name='content_type_id',
        ),
    ]
