Skip to content

Commit

Permalink
lowercase the email index
Browse files Browse the repository at this point in the history
  • Loading branch information
rohannair committed Aug 6, 2024
1 parent c61b2bc commit f9012db
Show file tree
Hide file tree
Showing 4 changed files with 493 additions and 3 deletions.
2 changes: 2 additions & 0 deletions apps/api/src/lib/db/migrations/0005_aromatic_moon_knight.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DROP INDEX IF EXISTS "user_email_idx";--> statement-breakpoint
CREATE INDEX IF NOT EXISTS "user_email_idx" ON "users" USING btree (lower("email"));
Loading

0 comments on commit f9012db

Please sign in to comment.