discourse/db/migrate/20140624044600_add_raw_data...

14 lines
421 B
Ruby

# frozen_string_literal: true
class AddRawDataToSearch < ActiveRecord::Migration[4.2]
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