diff --git a/lib/generators/geocoder/templates/migration/maxmind_geolite_city.rb b/lib/generators/geocoder/templates/migration/maxmind_geolite_city.rb index ed6d421e34b427ebd53e00164bfb8fa73e5d8395..5c7b863e9f33f64d3ec45991109b97c19e784cfc 100644 --- a/lib/generators/geocoder/templates/migration/maxmind_geolite_city.rb +++ b/lib/generators/geocoder/templates/migration/maxmind_geolite_city.rb @@ -15,9 +15,9 @@ class GeocoderMaxmindGeoliteCity < ActiveRecord::Migration t.string :postalCode, null: false t.float :latitude t.float :longitude - t.integer :dmaCode + t.integer :metroCode t.integer :areaCode end add_index :maxmind_location, :locId, unique: true end -end \ No newline at end of file +end