HabitatMap/AirCasting

View on GitHub
db/migrate/20111202133129_add_start_and_end_time_to_session.rb

Summary

Maintainability
A
0 mins
Test Coverage
class AddStartAndEndTimeToSession < ActiveRecord::Migration[4.2]
  def change
    add_column :sessions, :start_time, :datetime
    add_column :sessions, :end_time, :datetime

    add_index :sessions, :start_time
    add_index :sessions, :end_time
  end
end