feat: add user_id index to profiles table for faster lookups

The profiles table previously lacked an index on the user_id column, causing full table scans during user lookups. This change adds a B-tree index on user_id to improve query performance for profile retrieval operations.
This commit is contained in:
2024-11-28 02:41:34 +00:00
parent 14f8eef71f
commit bf6ae1ad5f
15 changed files with 2 additions and 266 deletions
+1
View File
@@ -1,2 +1,3 @@
.venv
__*
.pypirc