zed/crates/collab/migrations/20220505144506_add_trigram_index_to_users.sql
2022-05-05 09:58:18 -06:00

3 lines
136 B
SQL

CREATE EXTENSION IF NOT EXISTS pg_trgm;
CREATE INDEX trigram_index_users_on_github_login ON users USING GIN(github_login gin_trgm_ops);