# Generated by Django 5.1.15 on 2026-05-29 03:59

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ("assets", "0001_initial"),
        ("projects", "0001_initial"),
    ]

    operations = [
        migrations.AddField(
            model_name="assetusage",
            name="project",
            field=models.ForeignKey(
                blank=True,
                null=True,
                on_delete=django.db.models.deletion.CASCADE,
                related_name="asset_usages",
                to="projects.project",
            ),
        ),
        migrations.AddIndex(
            model_name="assetfile",
            index=models.Index(
                fields=["bucket", "object_key"], name="assets_asse_bucket_94a505_idx"
            ),
        ),
        migrations.AlterUniqueTogether(
            name="assettag",
            unique_together={("team", "name")},
        ),
        migrations.AlterUniqueTogether(
            name="assettagging",
            unique_together={("asset", "tag")},
        ),
    ]
