Upstream sync

This commit is contained in:
Senad Uka
2020-02-07 16:09:57 +01:00
parent 530951ff45
commit 37ad466439
12 changed files with 86 additions and 44 deletions

View File

@@ -35,6 +35,12 @@ class SimpleVectorModel < ActiveRecord::Base
pg_search fields: %i[id name value], cache: :search_cache, language: :simple
end
class SimplePlayerModel < ActiveRecord::Base
self.table_name = :players
include PgSearchable
pg_search fields: %i[device_id name value tags], cache: :search_cache, language: :simple
end
class VectorWithoutWildcardModel < ActiveRecord::Base
self.table_name = :vector_models
include PgSearchable