diff options
author | Matthew Lemon <y@yulqen.org> | 2024-10-15 21:01:31 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-10-15 21:01:31 +0100 |
commit | eeaddb27560d723ca7d61359744ceb2709fccd2d (patch) | |
tree | 04ddbc49ae7b73d5f5a9e1716d7227aecd3b9f85 /alphabetlearning/payments/migrations/0002_subscriptionplan_and_more.py | |
parent | 7a3044c859043837e6c7c95bb4894d04e9b2cbc2 (diff) |
Renamed from pyblackbird_cc to alphabetlearning - everywhere
Diffstat (limited to 'alphabetlearning/payments/migrations/0002_subscriptionplan_and_more.py')
-rw-r--r-- | alphabetlearning/payments/migrations/0002_subscriptionplan_and_more.py | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/alphabetlearning/payments/migrations/0002_subscriptionplan_and_more.py b/alphabetlearning/payments/migrations/0002_subscriptionplan_and_more.py new file mode 100644 index 0000000..cab49b5 --- /dev/null +++ b/alphabetlearning/payments/migrations/0002_subscriptionplan_and_more.py @@ -0,0 +1,36 @@ +# Generated by Django 5.0.4 on 2024-09-03 19:32 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("payments", "0001_initial"), + ] + + operations = [ + migrations.CreateModel( + name="SubscriptionPlan", + fields=[ + ( + "id", + models.BigAutoField( + auto_created=True, + primary_key=True, + serialize=False, + verbose_name="ID", + ), + ), + ("name", models.CharField(max_length=255)), + ("price", models.DecimalField(decimal_places=2, max_digits=6)), + ("description", models.TextField()), + ("allowed_downloads", models.PositiveIntegerField()), + ("stripe_plan_id", models.CharField(max_length=255)), + ], + ), + migrations.RemoveField( + model_name="subscription", + name="stripe_subscription_id", + ), + ] |