lib/generators/geocoder/maxmind/templates/migration/geolite_country.rb in geocoder-1.4.4 vs lib/generators/geocoder/maxmind/templates/migration/geolite_country.rb in geocoder-1.4.5
- old
+ new
@@ -1,5 +1,5 @@
-class GeocoderMaxmindGeoliteCountry < ActiveRecord::Migration
+class GeocoderMaxmindGeoliteCountry < ActiveRecord::Migration<%= migration_version %>
def self.up
create_table :maxmind_geolite_country, id: false do |t|
t.column :start_ip, :string
t.column :end_ip, :string
t.column :start_ip_num, :bigint, null: false