aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/payments/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'alphabetlearning/payments/migrations')
-rw-r--r--alphabetlearning/payments/migrations/0009_emailsignup_alter_price_resource.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/alphabetlearning/payments/migrations/0009_emailsignup_alter_price_resource.py b/alphabetlearning/payments/migrations/0009_emailsignup_alter_price_resource.py
new file mode 100644
index 0000000..4be05a2
--- /dev/null
+++ b/alphabetlearning/payments/migrations/0009_emailsignup_alter_price_resource.py
@@ -0,0 +1,28 @@
+# Generated by Django 5.0.4 on 2024-11-25 11:32
+
+import django.db.models.deletion
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('payments', '0008_remove_price_product_price_resource'),
+ ('resources', '0020_remove_resource_price_resource_stripe_product_id'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='EmailSignup',
+ fields=[
+ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('email', models.EmailField(max_length=254, unique=True)),
+ ('date_added', models.DateTimeField(auto_now_add=True)),
+ ],
+ ),
+ migrations.AlterField(
+ model_name='price',
+ name='resource',
+ field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='price_obj', to='resources.resource'),
+ ),
+ ]