# Generated by Django 4.1.4 on 2023-09-22 05:22

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('subscription_api', '0004_lawyersubscriptionplan'),
        ('customer_api', '0142_propertyproject_agency'),
    ]

    operations = [
        migrations.CreateModel(
            name='LawyerSubscriptions',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('sub_start_date', models.DateField(auto_now_add=True)),
                ('sub_expiry_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='subscription_api.lawyersubscriptionplan')),
            ],
            options={
                'db_table': 'lawyer_subscriptions',
            },
        ),
    ]
