# Generated by Django 5.2.11 on 2026-04-14 11:17

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


class Migration(migrations.Migration):

    dependencies = [
        ('dating_app', '0005_alter_datingpartnerprofile_country'),
    ]

    operations = [
        migrations.CreateModel(
            name='DatingPartnerPhoto',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('image', models.ImageField(upload_to='dating_profiles/gallery/', validators=[dating_app.models.validate_dating_profile_image])),
                ('caption', models.CharField(blank=True, max_length=150)),
                ('display_order', models.PositiveIntegerField(default=0)),
                ('is_public', models.BooleanField(default=True)),
                ('status', models.CharField(choices=[('pending', 'Pending Review'), ('approved', 'Approved'), ('rejected', 'Rejected')], default='pending', max_length=20)),
                ('uploaded_at', models.DateTimeField(auto_now_add=True)),
                ('profile', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='additional_photos', to='dating_app.datingpartnerprofile')),
            ],
            options={
                'ordering': ['display_order', '-uploaded_at'],
            },
        ),
    ]
