feat: add user_id index to profiles table for faster lookups

The new index on the `user_id` column in the `profiles` table improves query performance when filtering or joining by user identifier, reducing full table scans during authentication and profile retrieval operations.
This commit is contained in:
2026-05-23 01:21:55 +00:00
parent b9928de0a4
commit 77367644c5
35 changed files with 437 additions and 62 deletions
+6
View File
@@ -5,3 +5,9 @@ __pycache__/
devplace.db*
.pytest_cache/
.opencode
devplacepy/static/uploads/attachments/
devplacepy/static/uploads/*.png
devplacepy/static/uploads/*.jpg
devplacepy/static/uploads/*.jpeg
devplacepy/static/uploads/*.gif
devplacepy/static/uploads/*.webp