mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Search Refactor: Remove some manual SQL, make search data tables more idomatic Rails/AR
This commit is contained in:
5
app/models/post_search_data.rb
Normal file
5
app/models/post_search_data.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class PostSearchData < ActiveRecord::Base
|
||||
belongs_to :post
|
||||
|
||||
validates_presence_of :search_data
|
||||
end
|
||||
Reference in New Issue
Block a user