# Generated by Django 5.2.7 on 2025-11-27 23:25

from django.db import migrations

ROLES = [
    "Super admin",
    "Org admin",
    "Senior_appraiser",
    "Junior_appraiser",
    "Designated_appraiser",
    "Client_user",
    "Client_manager",
    "Client_admin",
]

def create_groups(apps, schema_editor):
    Group = apps.get_model('auth', 'Group')
    for role in ROLES:
        Group.objects.create(name=role)

class Migration(migrations.Migration):

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

    operations = [
        migrations.RunPython(create_groups),
    ]
