HabitatMap/AirCasting

View on GitHub
db/migrate/20120831120238_add_rectangle_and_average_value_to_streams.rb

Summary

Maintainability
A
0 mins
Test Coverage
class AddRectangleAndAverageValueToStreams < ActiveRecord::Migration[4.2]
  def change
    add_column :streams, :min_latitude, :decimal, precision: 12, scale: 9
    add_column :streams, :max_latitude, :decimal, precision: 12, scale: 9
    add_column :streams, :min_longitude, :decimal, precision: 12, scale: 9
    add_column :streams, :max_longitude, :decimal, precision: 12, scale: 9
    add_column :streams, :average_value, :float
  end
end