agenda-libre-ruby/db/migrate/20140823111115_add_address_latitude_and_longitude_to_event.rb

9 lines
244 B
Ruby

# Add geocoding to events
class AddAddressLatitudeAndLongitudeToEvent < ActiveRecord::Migration
def change
add_column :events, :address, :text
add_column :events, :latitude, :float
add_column :events, :longitude, :float
end
end