# Generated by Django 5.0.6 on 2024-06-25 22:13

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


class Migration(migrations.Migration):

    dependencies = [
        ('utils', '0002_structure_personnelstructure'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='personnelinstitution',
            name='m_institution',
        ),
        migrations.CreateModel(
            name='Role',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('m_name', models.CharField(blank=True, max_length=128, null=True)),
                ('m_description', models.TextField(blank=True, null=True)),
                ('m_institution', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='utils.institution')),
            ],
        ),
        migrations.AddField(
            model_name='personnelinstitution',
            name='m_role',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='utils.role'),
        ),
    ]
