BikeBikeBike/db/migrate/20140208035124_create_locations.rb

13 lines
229 B
Ruby
Raw Normal View History

2014-03-09 14:43:33 -06:00
class CreateLocations < ActiveRecord::Migration
def change
create_table :locations do |t|
t.string :title
t.string :address
t.float :latitude
t.float :longitude
t.timestamps
end
end
end