HabitatMap/AirCasting

View on GitHub
db/migrate/20111109143846_add_user_id_to_session.rb

Summary

Maintainability
A
0 mins
Test Coverage
class AddUserIdToSession < ActiveRecord::Migration[4.2]
  def change
    add_column :sessions, :user_id, :integer
    add_index :sessions, :user_id
  end
end