# Generated by Django 3.2.18 on 2023-05-09 16:35

from django.db import migrations

import nautobot.core.models.fields


class Migration(migrations.Migration):
    dependencies = [
        ("extras", "0081_rename_relationship_slug_to_key"),
    ]

    operations = [
        migrations.AlterModelOptions(
            name="relationship",
            options={"ordering": ["label"]},
        ),
        migrations.RenameField(
            model_name="relationship",
            old_name="name",
            new_name="label",
        ),
        migrations.AlterField(
            model_name="relationship",
            name="key",
            field=nautobot.core.models.fields.AutoSlugField(
                blank=True, max_length=100, populate_from="label", unique=True
            ),
        ),
    ]
