]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20120208122334_merge_acl_address_and_mask.rb
Add description of the nominatim key update process
[rails.git] / db / migrate / 20120208122334_merge_acl_address_and_mask.rb
index 1e67f46dd98370aa32cb069106c33ae6d42b708a..f05cb4f21416216a1d9f2af7a617dd323d3d43b7 100644 (file)
@@ -10,7 +10,10 @@ class IPAddr
   end
 end
 
-class MergeAclAddressAndMask < ActiveRecord::Migration[5.0]
+class MergeAclAddressAndMask < ActiveRecord::Migration[4.2]
+  class Acl < ActiveRecord::Base
+  end
+
   def up
     Acl.find_each do |acl|
       address = IPAddr.new(acl.address)