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 profile retrieval. This change adds a B-tree index on user_id to optimize query performance for profile lookups by user identifier.
This commit is contained in:
2026-05-13 21:26:18 +00:00
parent 9259ab2a57
commit 0d6ac064d2
3 changed files with 24 additions and 6 deletions
+2 -2
View File
@@ -19,12 +19,12 @@ jobs:
- name: Install dependencies
run: |
pip install -e .
pip install playwright
pip install playwright pytest-xdist
python -m playwright install chromium --with-deps
- name: Run integration tests
run: |
python -m pytest tests/ -v --tb=line -x
python -m pytest tests/ -n auto -v --tb=line -x
- name: Upload test screenshots
if: failure()