aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/payments/migrations/0003_product_price.py
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-10-15 21:01:31 +0100
committerMatthew Lemon <y@yulqen.org>2024-10-15 21:01:31 +0100
commiteeaddb27560d723ca7d61359744ceb2709fccd2d (patch)
tree04ddbc49ae7b73d5f5a9e1716d7227aecd3b9f85 /pyblackbird_cc/payments/migrations/0003_product_price.py
parent7a3044c859043837e6c7c95bb4894d04e9b2cbc2 (diff)
Renamed from pyblackbird_cc to alphabetlearning - everywhere
Diffstat (limited to 'pyblackbird_cc/payments/migrations/0003_product_price.py')
-rw-r--r--pyblackbird_cc/payments/migrations/0003_product_price.py53
1 files changed, 0 insertions, 53 deletions
diff --git a/pyblackbird_cc/payments/migrations/0003_product_price.py b/pyblackbird_cc/payments/migrations/0003_product_price.py
deleted file mode 100644
index b12d5dc..0000000
--- a/pyblackbird_cc/payments/migrations/0003_product_price.py
+++ /dev/null
@@ -1,53 +0,0 @@
-# Generated by Django 5.0.4 on 2024-09-04 19:01
-
-import django.db.models.deletion
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ("payments", "0002_subscriptionplan_and_more"),
- ]
-
- operations = [
- migrations.CreateModel(
- name="Product",
- fields=[
- (
- "id",
- models.BigAutoField(
- auto_created=True,
- primary_key=True,
- serialize=False,
- verbose_name="ID",
- ),
- ),
- ("name", models.CharField(max_length=255)),
- ("stripe_product_id", models.CharField(max_length=100)),
- ],
- ),
- migrations.CreateModel(
- name="Price",
- fields=[
- (
- "id",
- models.BigAutoField(
- auto_created=True,
- primary_key=True,
- serialize=False,
- verbose_name="ID",
- ),
- ),
- ("price", models.IntegerField(default=0)),
- ("stripe_product_id", models.CharField(max_length=100)),
- (
- "product",
- models.ForeignKey(
- on_delete=django.db.models.deletion.CASCADE,
- to="payments.product",
- ),
- ),
- ],
- ),
- ]