X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/e660e609661edadc1ed5ad49d6e83e936b2f91cd..9f3dace353d08417d23624781f059bd61dd56c52:/db/migrate/031_create_countries.rb diff --git a/db/migrate/031_create_countries.rb b/db/migrate/031_create_countries.rb index cc0627cd2..337e86fde 100644 --- a/db/migrate/031_create_countries.rb +++ b/db/migrate/031_create_countries.rb @@ -24,11 +24,11 @@ class CreateCountries < ActiveRecord::Migration maxlon = ele.get_text("bBoxEast").to_s maxlat = ele.get_text("bBoxNorth").to_s - Country.create({ + Country.create( :code => code, :min_lat => minlat.to_f, :max_lat => maxlat.to_f, :min_lon => minlon.to_f, :max_lon => maxlon.to_f - }, :without_protection => true) + ) end end end