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-11 23:35:31 +00:00
parent 7229e2e64e
commit 56da963440
55 changed files with 5563 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
# style report (check)
- total: 8
- errors: 8
- warnings: 0
- fixed: 0
- unfixed: 8
## Findings
### agents/agent.py
- [error] em-dash:30: Em-dash character (U+2014) used in docstring — must be hyphen instead
- [error] em-dash:1732: Em-dash character (U+2014) used in string literal — must be hyphen instead
- [error] em-dash:2217: Em-dash character (U+2014) used in instruction string — must be hyphen instead
- [error] em-dash:2250: Em-dash character (U+2014) used in string literal — must be hyphen instead
- [error] em-dash:2293: Em-dash character (U+2014) used in string literal — must be hyphen instead
### devplacepy/services/bot/llm.py
- [error] em-dash:105: Em-dash character (U+2014) used in string literal as replace target — must be hyphen or unicode escape instead
### tests/test_demo.py.bak
- [error] em-dash:36: Em-dash character (U+2014) used in comments throughout file — must be hyphen instead
- [error] em-dash:277: Em-dash character (U+2014) used in string literal — must be hyphen instead