agenda-libre-ruby/db/migrate/20160409131029_add_place_name_to_orgas.rb

10 lines
306 B
Ruby

# Add more data to orgas, with an optionnal place name and address
class AddPlaceNameToOrgas < ActiveRecord::Migration
def change
add_column :orgas, :place_name, :text
add_column :orgas, :address, :text
add_column :orgas, :latitude, :float
add_column :orgas, :longitude, :float
end
end