mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 19:37:55 +08:00
20 lines
485 B
Ruby
20 lines
485 B
Ruby
class PostSearchData < ActiveRecord::Base
|
|
include HasSearchData
|
|
end
|
|
|
|
# == Schema Information
|
|
#
|
|
# Table name: post_search_data
|
|
#
|
|
# post_id :integer not null, primary key
|
|
# search_data :tsvector
|
|
# raw_data :text
|
|
# locale :string
|
|
# version :integer default(0)
|
|
#
|
|
# Indexes
|
|
#
|
|
# idx_search_post (search_data) USING gin
|
|
# index_post_search_data_on_post_id_and_version_and_locale (post_id,version,locale)
|
|
#
|