2019-05-02 18:17:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-08-31 00:06:56 -04:00
|
|
|
class AddRawDataToSearch < ActiveRecord::Migration[4.2]
|
2014-06-24 03:10:56 -04:00
|
|
|
def change
|
|
|
|
add_column :post_search_data, :raw_data, :text
|
|
|
|
add_column :user_search_data, :raw_data, :text
|
|
|
|
add_column :category_search_data, :raw_data, :text
|
|
|
|
|
|
|
|
add_column :post_search_data, :locale, :string
|
|
|
|
add_column :user_search_data, :locale, :text
|
|
|
|
add_column :category_search_data, :locale, :text
|
|
|
|
end
|
|
|
|
end
|