Add hashtag score for better sorting of autosuggestions (#11427)
* Add hashtag score for better sorting of autosuggestions * Do not use `~<~` operator with no text_pattern_ops indexmain
parent
b31b232edf
commit
648cdbc04a
@ -0,0 +1,5 @@
|
|||||||
|
class AddScoreToTags < ActiveRecord::Migration[5.2]
|
||||||
|
def change
|
||||||
|
add_column :tags, :score, :int
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in new issue