aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/payments/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'alphabetlearning/payments/migrations')
-rw-r--r--alphabetlearning/payments/migrations/0008_remove_price_product_price_resource.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/alphabetlearning/payments/migrations/0008_remove_price_product_price_resource.py b/alphabetlearning/payments/migrations/0008_remove_price_product_price_resource.py
new file mode 100644
index 0000000..9d52284
--- /dev/null
+++ b/alphabetlearning/payments/migrations/0008_remove_price_product_price_resource.py
@@ -0,0 +1,25 @@
+# Generated by Django 5.0.4 on 2024-10-19 15:11
+
+import django.db.models.deletion
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('payments', '0007_remove_cartitem_quantity_and_more'),
+ ('resources', '0020_remove_resource_price_resource_stripe_product_id'),
+ ]
+
+ operations = [
+ migrations.RemoveField(
+ model_name='price',
+ name='product',
+ ),
+ migrations.AddField(
+ model_name='price',
+ name='resource',
+ field=models.ForeignKey(default=66, on_delete=django.db.models.deletion.CASCADE, related_name='price', to='resources.resource'),
+ preserve_default=False,
+ ),
+ ]