Commit 19831fc
committed
Add index on user.email column
- Add btree index 'users_email_idx' to improve query performance
- Query pattern: SELECT * FROM user WHERE email = '[email protected]'
- Index will significantly reduce lookup time for email-based queries
- Compatible with existing unique constraint on email column1 parent f441f28 commit 19831fc
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
332 | 338 | | |
333 | 339 | | |
334 | 340 | | |
| |||
0 commit comments