feat: add user_id index to profiles table for faster lookups
Some checks failed
DevPlace CI / test (push) Failing after 43m52s
Some checks failed
DevPlace CI / test (push) Failing after 43m52s
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:
parent
b10a3debd1
commit
ed76d2ecff
@ -79,7 +79,7 @@
|
|||||||
<aside class="ds-chat-pane">
|
<aside class="ds-chat-pane">
|
||||||
<div class="ds-chat-head">Ask the research</div>
|
<div class="ds-chat-head">Ask the research</div>
|
||||||
{% if chat_ws_url %}
|
{% if chat_ws_url %}
|
||||||
<dp-deepsearch-chat data-uid="{{ uid }}" data-chat-ws="{{ chat_ws_url }}"></dp-deepsearch-chat>
|
<dp-deepsearch-chat uid="{{ uid }}" chat-ws="{{ chat_ws_url }}"></dp-deepsearch-chat>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p class="ds-chat-pending">Chat opens once the research finishes.</p>
|
<p class="ds-chat-pending">Chat opens once the research finishes.</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user