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