zed/crates/collab/migrations/20220505144506_add_trigram_index_to_users.sql

3 lines
136 B
MySQL
Raw Normal View History

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