# Generated by Django 5.2.8 on 2025-12-06 15:03

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ("maps", "0001_initial"),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.AddField(
            model_name="location",
            name="assigned_to",
            field=models.ForeignKey(
                blank=True,
                help_text="Optional user responsible for this location.",
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="assigned_locations",
                to=settings.AUTH_USER_MODEL,
                verbose_name="Assigned to",
            ),
        ),
        migrations.AddField(
            model_name="googlemapslocation",
            name="location",
            field=models.OneToOneField(
                on_delete=django.db.models.deletion.CASCADE,
                related_name="google_maps_details",
                to="maps.location",
                verbose_name="Location",
            ),
        ),
    ]
