aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/payments/migrations
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-12-03 17:10:23 +0000
committerMatthew Lemon <y@yulqen.org>2024-12-03 17:10:23 +0000
commit3bcd728b0bd37c95865205a75ffbddfb2e086f90 (patch)
tree181a79c8e8b156509bfe03c34fd8ceff57382b20 /alphabetlearning/payments/migrations
parent38f7a88a15f1278df6a44242e2e22814914beddb (diff)
First cut at email verification
Diffstat (limited to 'alphabetlearning/payments/migrations')
-rw-r--r--alphabetlearning/payments/migrations/0010_pendingemailverification.py26
-rw-r--r--alphabetlearning/payments/migrations/0011_remove_pendingemailverification_first_name_and_more.py21
2 files changed, 47 insertions, 0 deletions
diff --git a/alphabetlearning/payments/migrations/0010_pendingemailverification.py b/alphabetlearning/payments/migrations/0010_pendingemailverification.py
new file mode 100644
index 0000000..c49a2cb
--- /dev/null
+++ b/alphabetlearning/payments/migrations/0010_pendingemailverification.py
@@ -0,0 +1,26 @@
+# Generated by Django 5.0.4 on 2024-12-03 16:18
+
+import uuid
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('payments', '0009_emailsignup_alter_price_resource'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='PendingEmailVerification',
+ fields=[
+ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('email', models.EmailField(max_length=254)),
+ ('first_name', models.CharField(max_length=100)),
+ ('last_name', models.CharField(max_length=100)),
+ ('verification_token', models.UUIDField(default=uuid.uuid4, editable=False)),
+ ('created_at', models.DateTimeField(auto_now_add=True)),
+ ('is_verified', models.BooleanField(default=False)),
+ ],
+ ),
+ ]
diff --git a/alphabetlearning/payments/migrations/0011_remove_pendingemailverification_first_name_and_more.py b/alphabetlearning/payments/migrations/0011_remove_pendingemailverification_first_name_and_more.py
new file mode 100644
index 0000000..e13f6d3
--- /dev/null
+++ b/alphabetlearning/payments/migrations/0011_remove_pendingemailverification_first_name_and_more.py
@@ -0,0 +1,21 @@
+# Generated by Django 5.0.4 on 2024-12-03 16:38
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('payments', '0010_pendingemailverification'),
+ ]
+
+ operations = [
+ migrations.RemoveField(
+ model_name='pendingemailverification',
+ name='first_name',
+ ),
+ migrations.RemoveField(
+ model_name='pendingemailverification',
+ name='last_name',
+ ),
+ ]