2017-08-31 00:06:56 -04:00
|
|
|
class AddVersionToSearchData < ActiveRecord::Migration[4.2]
|
2017-08-16 07:38:34 -04:00
|
|
|
def change
|
|
|
|
add_column :post_search_data, :version, :integer, default: 0
|
|
|
|
add_column :topic_search_data, :version, :integer, default: 0
|
|
|
|
add_column :category_search_data, :version, :integer, default: 0
|
|
|
|
add_column :user_search_data, :version, :integer, default: 0
|
|
|
|
end
|
|
|
|
end
|