X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/90875bb08a63061f926228e14327286297c51ed2..95e8c63c2a3aee63c3eb21d7b70343ff1d17f652:/db/migrate/031_create_countries.rb?ds=sidebyside 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