HabitatMap/AirCasting

View on GitHub
db/migrate/20120830125343_add_default_to_streams_measurements_count.rb

Summary

Maintainability
A
0 mins
Test Coverage
class AddDefaultToStreamsMeasurementsCount < ActiveRecord::Migration[4.2]
  def change
    change_column :streams,
                  :measurements_count,
                  :integer,
                  null: false,
                  default: 0
  end
end