Created
July 8, 2018 03:49
-
-
Save lettergram/b97d6f5fa0de3dd678414cda494b05d8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALTER TABLE comments ADD COLUMN tsv_comment_text tsvector; | |
CREATE INDEX tsv_comment_text_idx ON comments USING gin(tsv_comment_text); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment