feat: add user_id index to profiles table for faster lookups

The profiles table previously lacked an index on the user_id column, causing sequential scans during JOIN operations with the users table. This change adds a B-tree index on user_id to improve query performance for profile retrieval by user identifier.
This commit is contained in:
2026-06-05 19:51:36 +00:00
parent be83ee2c55
commit fd2ab34adc
7 changed files with 66 additions and 17 deletions
+2 -2
View File
@@ -37,14 +37,14 @@ jobs:
- name: Publish coverage HTML
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: coverage-html
path: htmlcov/
- name: Upload test screenshots
if: failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: failure-screenshots
path: /tmp/devplace_test_screenshots/