discourse/app/models/topic_search_data.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
542 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
class TopicSearchData < ActiveRecord::Base
include HasSearchData
end
# == Schema Information
#
# Table name: topic_search_data
#
# topic_id :integer not null, primary key
# raw_data :text
2019-01-11 14:29:56 -05:00
# locale :string not null
# search_data :tsvector
# version :integer default(0)
#
# Indexes
#
2019-04-09 01:27:22 -04:00
# idx_search_topic (search_data) USING gin
# index_topic_search_data_on_topic_id_and_version_and_locale (topic_id,version,locale)
#