mirror of
https://codeberg.org/demostf/db.git
synced 2026-06-03 18:14:08 +02:00
add index to better handle search by single player
This commit is contained in:
parent
ef62259835
commit
c1e792b16a
1 changed files with 3 additions and 0 deletions
|
|
@ -518,6 +518,9 @@ CREATE INDEX players_name_index
|
|||
CREATE INDEX players_user_id_index
|
||||
ON players USING BTREE (user_id);
|
||||
|
||||
CREATE INDEX players_user_demo_id_index
|
||||
ON players USING BTREE (user_id, demo_id DESC);
|
||||
|
||||
--
|
||||
-- Name: teams_id_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
||||
--
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue