diff options
author | Matthew Lemon <y@yulqen.org> | 2024-11-26 17:03:16 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-11-26 17:03:16 +0000 |
commit | 04e490c0b0b65a21c531ac50a5ba321c79e14fa2 (patch) | |
tree | 428df0f34826b8aff22d9b37708ef286d3115015 /alphabetlearning/payments/migrations/0009_emailsignup_alter_price_resource.py | |
parent | 78fd102b49f339af5432c2f0bebfab7ff9ac39bd (diff) |
Got the basic form anbd privacy policy in place
Diffstat (limited to 'alphabetlearning/payments/migrations/0009_emailsignup_alter_price_resource.py')
-rw-r--r-- | alphabetlearning/payments/migrations/0009_emailsignup_alter_price_resource.py | 28 |
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'), + ), + ] |