9 lines
244 B
Ruby
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
|