agenda-libre-ruby/db/migrate/20140823111115_add_address_...

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