]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20120208122334_merge_acl_address_and_mask.rb
Merge remote-tracking branch 'upstream/pull/4262'
[rails.git] / db / migrate / 20120208122334_merge_acl_address_and_mask.rb
index 48cdbbc2a986695851931a94ce1adc32a9967bde..09b0ae3b07c90f9869e04a418fb66897575ffbbb 100644 (file)
@@ -11,6 +11,9 @@ class IPAddr
 end
 
 class MergeAclAddressAndMask < ActiveRecord::Migration[4.2]
 end
 
 class MergeAclAddressAndMask < ActiveRecord::Migration[4.2]
+  class Acl < ApplicationRecord
+  end
+
   def up
     Acl.find_each do |acl|
       address = IPAddr.new(acl.address)
   def up
     Acl.find_each do |acl|
       address = IPAddr.new(acl.address)