# Generated by Django 4.1.4 on 2024-11-18 10:55

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


class Migration(migrations.Migration):

    dependencies = [
        ('customer_api', '0175_saleproperty_facilities'),
    ]

    operations = [
        migrations.CreateModel(
            name='ConversationCustomers',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('twilio_channel_sid', models.CharField(blank=True, max_length=255, null=True)),
                ('customer_one_twilio_id', models.CharField(max_length=200, null=True)),
                ('customer_two_twilio_id', models.CharField(max_length=200, null=True)),
                ('last_message', models.DateTimeField(null=True)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('end_date', models.DateTimeField(null=True)),
                ('customer_one', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='customer_one', to='customer_api.customer')),
                ('customer_two', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='customer_two', to='customer_api.customer')),
            ],
            options={
                'db_table': 'conversation_customers',
            },
        ),
    ]
