HabitatMap/AirCasting

View on GitHub
db/migrate/20160530152400_add_location_to_sessions.rb

Summary

Maintainability
A
0 mins
Test Coverage
class AddLocationToSessions < ActiveRecord::Migration[4.2]
  def change
    add_column :sessions, :is_indoor, :boolean
    add_column :sessions, :latitude, :decimal, precision: 12, scale: 9
    add_column :sessions, :longitude, :decimal, precision: 12, scale: 9
  end
end