# Generated by Django 4.1.4 on 2025-02-20 10:55

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


class Migration(migrations.Migration):

    dependencies = [
        ('admin_api', '0025_benefits'),
        ('customer_api', '0230_propertyproject_featured_end_date_and_more'),
    ]

    operations = [
        migrations.CreateModel(
            name='CustomersFeatureAdsHistory',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('property_type', models.CharField(max_length=200, null=True)),
                ('property_id', models.CharField(max_length=100, null=True)),
                ('payment_date', models.DateField(null=True)),
                ('is_active', models.BooleanField(default=False)),
                ('start_date', models.DateTimeField(auto_now_add=True)),
                ('end_date', models.DateTimeField(null=True)),
                ('customer', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='customer_api.customer')),
                ('plan', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='admin_api.featureaddpricing')),
            ],
            options={
                'db_table': 'customer_feature_history',
            },
        ),
    ]
