# Generated by Django 5.2.7 on 2025-10-27 21:31

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


class Migration(migrations.Migration):

    dependencies = [
        ('findmydevice', '0013_remove_device_command2user_device_command_data'),
    ]

    operations = [
        migrations.CreateModel(
            name='Picture',
            fields=[
                ('create_dt', models.DateTimeField(blank=True, editable=False, help_text='ModelTimetrackingMixin.create_dt.help_text', null=True, verbose_name='ModelTimetrackingMixin.create_dt.verbose_name')),
                ('update_dt', models.DateTimeField(blank=True, editable=False, help_text='ModelTimetrackingMixin.update_dt.help_text', null=True, verbose_name='ModelTimetrackingMixin.update_dt.verbose_name')),
                ('uuid', models.UUIDField(default=uuid.uuid4, primary_key=True, serialize=False)),
                ('user_agent', models.CharField(blank=True, editable=False, max_length=512, null=True)),
                ('data', models.TextField(unique=True)),
                ('device', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='findmydevice.device')),
            ],
            options={
                'get_latest_by': ['create_dt'],
            },
        ),
    ]
