aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/20120910153022_create_request_classifications.rb
blob: 7c6270c9e5915a025a5664a5ce71038a2c97ad29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class CreateRequestClassifications < ActiveRecord::Migration
  def self.up
    create_table :request_classifications do |t|
      t.integer :user_id
      t.integer :info_request_event_id
      t.timestamps
    end
    add_index :request_classifications, :user_id
  end

  def self.down
    drop_table :request_classifications
  end
end