# Generated by Django 5.2.11 on 2026-04-06 11:15

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


class Migration(migrations.Migration):

    dependencies = [
        ('expat_life', '0003_foreignerlead_lead_status_and_more'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='ForeignerProfile',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('is_confirmed', models.BooleanField(default=False)),
                ('can_view_private_listings', models.BooleanField(default=False)),
                ('can_book_arrangements', models.BooleanField(default=False)),
                ('joined_at', models.DateTimeField(auto_now_add=True)),
                ('lead', models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='foreigner_profile', to='expat_life.foreignerlead')),
                ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='foreigner_profile', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'verbose_name': 'Foreigner Profile',
                'verbose_name_plural': 'Foreigner Profiles',
                'ordering': ['-joined_at'],
            },
        ),
    ]
