# Generated by Django 5.2.11 on 2026-04-16 16:12

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


class Migration(migrations.Migration):

    dependencies = [
        ('dating_app', '0009_datingpartnerprofile_can_book_arrangements_and_more'),
        ('expat_life', '0010_foreignerlead_is_public'),
    ]

    operations = [
        migrations.CreateModel(
            name='ForeignerInterest',
            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)),
                ('dating_partner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='foreigner_interests', to='dating_app.datingpartnerprofile')),
                ('foreigner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='dating_partner_interests', to='expat_life.foreignerprofile')),
            ],
            options={
                'verbose_name': 'Foreigner Interest',
                'verbose_name_plural': 'Foreigner Interests',
                'ordering': ['-created_at'],
                'constraints': [models.UniqueConstraint(fields=('dating_partner', 'foreigner'), name='unique_dating_partner_foreigner_interest')],
            },
        ),
    ]
