# Generated by Django 4.2.23 on 2025-10-18 08:22

# Django
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("indy_hub", "0031_corporationsharingsetting"),
    ]

    operations = [
        migrations.AlterModelOptions(
            name="blueprint",
            options={
                "default_permissions": (),
                "permissions": [
                    ("can_access_indy_hub", "Can access Indy Hub module"),
                    (
                        "can_manage_copy_requests",
                        "Can request or share blueprint copies",
                    ),
                    (
                        "can_manage_corporate_assets",
                        "Can manage corporation blueprints and jobs",
                    ),
                ],
                "verbose_name": "Blueprint",
                "verbose_name_plural": "Blueprints",
            },
        ),
        migrations.AlterField(
            model_name="blueprint",
            name="owner_kind",
            field=models.CharField(
                choices=[
                    ("character", "Character-owned"),
                    ("corporation", "Corporation-owned"),
                ],
                default="character",
                max_length=16,
            ),
        ),
        migrations.AlterField(
            model_name="industryjob",
            name="owner_kind",
            field=models.CharField(
                choices=[
                    ("character", "Character-owned"),
                    ("corporation", "Corporation-owned"),
                ],
                default="character",
                max_length=16,
            ),
        ),
        migrations.AddIndex(
            model_name="corporationsharingsetting",
            index=models.Index(
                fields=["user", "share_scope"], name="corp_sharing_user_scope_idx"
            ),
        ),
    ]
