aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/payments/migrations/0006_subscription_plan.py
blob: f54b5f9234571d575f8d87a1627d8d5f972a137d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Generated by Django 5.0.4 on 2024-09-08 20:21

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


class Migration(migrations.Migration):

    dependencies = [
        ("payments", "0005_remove_subscriptionplan_stripe_plan_id"),
    ]

    operations = [
        migrations.AddField(
            model_name="subscription",
            name="plan",
            field=models.ForeignKey(
                default=1,
                on_delete=django.db.models.deletion.CASCADE,
                to="payments.subscriptionplan",
            ),
            preserve_default=False,
        ),
    ]