# Generated by Django 5.1.7 on 2025-04-01 09:47

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ("subscription_app", "0001_initial"),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.AddField(
            model_name="subscription",
            name="user",
            field=models.ForeignKey(
                default=0,
                on_delete=django.db.models.deletion.CASCADE,
                to=settings.AUTH_USER_MODEL,
                verbose_name="user",
            ),
        ),
        migrations.AddField(
            model_name="subscriptionaddon",
            name="add_on",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                to="subscription_app.addonpackage",
                verbose_name="add_on",
            ),
        ),
        migrations.AddField(
            model_name="subscriptionaddon",
            name="subscription",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                to="subscription_app.subscription",
                verbose_name="subscription",
            ),
        ),
        migrations.AddField(
            model_name="subscription",
            name="plan",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                to="subscription_app.subscriptionplan",
                verbose_name="plan",
            ),
        ),
        migrations.AddField(
            model_name="tenantbilling",
            name="subscription",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                to="subscription_app.subscription",
                verbose_name="subscription",
            ),
        ),
        migrations.AddField(
            model_name="tenantbilling",
            name="user",
            field=models.ForeignKey(
                default=0,
                on_delete=django.db.models.deletion.CASCADE,
                to=settings.AUTH_USER_MODEL,
                verbose_name="user",
            ),
        ),
    ]
