Upstream sync
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user