You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
283 B
15 lines
283 B
8 years ago
|
class CreateCities < ActiveRecord::Migration
|
||
|
def change
|
||
|
create_table :cities do |t|
|
||
|
t.string :city
|
||
|
t.string :territory
|
||
|
t.string :country
|
||
|
t.float :latitude
|
||
|
t.float :longitude
|
||
|
t.string :locale
|
||
|
|
||
|
t.timestamps null: false
|
||
|
end
|
||
|
end
|
||
|
end
|