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:
2026-06-13 19:06:43 +00:00
parent dbae73c3d9
commit 08b3ad3921
24 changed files with 378 additions and 80 deletions
+4 -1
View File
@@ -22,7 +22,10 @@ devii.log
webdata/
# Uploaded/downloaded files - never track in git
devplacepy/static/uploads/
# Runtime data dir (container workspaces, zip artifacts) - never inside the package
# Consolidated runtime data dir (DB, uploads, keys, locks, bot state, job staging,
# container workspaces). Single root, never inside the package.
data/
# Legacy runtime data dir (pre-consolidation); kept ignored for un-migrated installs.
var/
# coverage