20130726000001_update_session.rb 192 B

123456789
  1. class UpdateSession < ActiveRecord::Migration
  2. def up
  3. add_column :sessions, :request_type, :integer, :null => true
  4. add_index :sessions, :request_type
  5. end
  6. def down
  7. end
  8. end