HabitatMap/AirCasting

View on GitHub
db/migrate/20190611091153_remove_measurements_received_count_from_sessions.rb

Summary

Maintainability
A
0 mins
Test Coverage
class RemoveMeasurementsReceivedCountFromSessions < ActiveRecord::Migration[5.2]
  def change
    if column_exists?(:sessions, :measurements_received_count)
      remove_column :sessions, :measurements_received_count
    end
  end
end