aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/20131024152540_add_body_to_info_request_batches.rb
blob: 5f9b3af10275e2cf5eb05f0479809c752f7f0dc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
class AddBodyToInfoRequestBatches < ActiveRecord::Migration
  def up
      add_column :info_request_batches, :body, :text
      add_index :info_request_batches, [:user_id, :body, :title]
  end

  def down
      remove_column :info_request_batches, :body
  end

end