From eeaddb27560d723ca7d61359744ceb2709fccd2d Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 15 Oct 2024 21:01:31 +0100 Subject: Renamed from pyblackbird_cc to alphabetlearning - everywhere --- .../0007_remove_cartitem_quantity_and_more.py | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 alphabetlearning/payments/migrations/0007_remove_cartitem_quantity_and_more.py (limited to 'alphabetlearning/payments/migrations/0007_remove_cartitem_quantity_and_more.py') diff --git a/alphabetlearning/payments/migrations/0007_remove_cartitem_quantity_and_more.py b/alphabetlearning/payments/migrations/0007_remove_cartitem_quantity_and_more.py new file mode 100644 index 0000000..e976059 --- /dev/null +++ b/alphabetlearning/payments/migrations/0007_remove_cartitem_quantity_and_more.py @@ -0,0 +1,23 @@ +# Generated by Django 5.0.4 on 2024-09-14 14:40 + +from django.conf import settings +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('payments', '0006_subscription_plan'), + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ] + + operations = [ + migrations.RemoveField( + model_name='cartitem', + name='quantity', + ), + migrations.AddConstraint( + model_name='subscription', + constraint=models.UniqueConstraint(fields=('user', 'plan'), name='unique_user_plan'), + ), + ] -- cgit v1.2.3