13 lines
229 B
Ruby
13 lines
229 B
Ruby
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
|