Commit 526e5eb
committed
Refactor sign-up email index management in ProjectUser model
- Removed the existing index for signUpEmailNormalized from the finalize_signup_fraud_protection migration.
- Created a new migration to add the signUpEmailNormalized index, ensuring better organization and clarity in the migration history.
- This change enhances the database schema by maintaining a clear separation of index creation across migrations.1 parent 1861da9 commit 526e5eb
File tree
2 files changed
+5
-6
lines changed- apps/backend/prisma/migrations
- 20260308000002_finalize_signup_fraud_protection
- 20260406000000_add_signup_email_normalized_recent_idx
2 files changed
+5
-6
lines changedLines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 20 | | |
27 | 21 | | |
28 | 22 | | |
| |||
apps/backend/prisma/migrations/20260406000000_add_signup_email_normalized_recent_idx/migration.sql
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments