Skip to content

Commit

Permalink
fixup! Add user search methods by email/name fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
akorneta committed May 13, 2017
1 parent 913705f commit 7a90777
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
-- is strictly forbidden unless prior written permission is obtained
-- from Codenvy S.A..
--

CREATE INDEX index_user_email_pattern ON usr(email text_pattern_ops);

CREATE EXTENSION pg_trgm;
CREATE INDEX index_user_lower_email ON usr USING GIN (LOWER(email) gin_trgm_ops);
CREATE INDEX index_user_lower_name ON usr USING GIN (LOWER(name) gin_trgm_ops);

0 comments on commit 7a90777

Please sign in to comment.