add index to better handle search by single player

This commit is contained in:
Robin Appelman 2018-07-06 18:13:04 +02:00
commit c1e792b16a

View file

@ -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:
--