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:
+4
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user