# Generated by Django 5.2.11 on 2026-04-14 14:09

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


class Migration(migrations.Migration):

    dependencies = [
        ('dating_app', '0006_datingpartnerphoto'),
        ('expat_life', '0008_foreignerprofile_status'),
    ]

    operations = [
        migrations.CreateModel(
            name='DatingInterest',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('status', models.CharField(choices=[('interested', 'Interested'), ('reviewing', 'Reviewing'), ('contacted', 'Contacted'), ('matched', 'Matched'), ('closed', 'Closed')], default='interested', max_length=20)),
                ('message', models.TextField(blank=True)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('foreigner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='dating_interests', to='expat_life.foreignerprofile')),
                ('partner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='dating_interests', to='dating_app.datingpartnerprofile')),
            ],
            options={
                'verbose_name': 'Dating Interest',
                'verbose_name_plural': 'Dating Interests',
                'ordering': ['-created_at'],
                'constraints': [models.UniqueConstraint(fields=('foreigner', 'partner'), name='unique_foreigner_dating_interest')],
            },
        ),
    ]
