aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/payments/migrations/0006_subscription_plan.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyblackbird_cc/payments/migrations/0006_subscription_plan.py')
-rw-r--r--pyblackbird_cc/payments/migrations/0006_subscription_plan.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/pyblackbird_cc/payments/migrations/0006_subscription_plan.py b/pyblackbird_cc/payments/migrations/0006_subscription_plan.py
new file mode 100644
index 0000000..f54b5f9
--- /dev/null
+++ b/pyblackbird_cc/payments/migrations/0006_subscription_plan.py
@@ -0,0 +1,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,
+ ),
+ ]