mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 08:23:43 +08:00
9 lines
343 B
Ruby
9 lines
343 B
Ruby
class AddVersionToSearchData < ActiveRecord::Migration
|
|
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
|