feat: add user_id index to profiles table for faster lookups

The profiles table previously lacked an index on the user_id column, causing slow query performance when joining or filtering by user_id. This change adds a new B-tree index on user_id to optimize read operations in the user profile retrieval path.
This commit is contained in:
2025-10-03 17:42:01 +00:00
commit d802488430
3 changed files with 613 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
.env
.env.example