HabitatMap/AirCasting

View on GitHub
db/migrate/20240122160230_add_location_to_measurements.rb

Summary

Maintainability
A
0 mins
Test Coverage
class AddLocationToMeasurements < ActiveRecord::Migration[6.1]
  def up
    add_column :measurements, :location, :geometry, srid: 4326
  end

  def down
    remove_column :measurements, :location
  end
end