X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b606acba0c28652fa6f066c2b5d989ceae41c194..08b0bfbfdf8e030e79b93fcc123d0df670c8db1b:/db/migrate/20120208122334_merge_acl_address_and_mask.rb diff --git a/db/migrate/20120208122334_merge_acl_address_and_mask.rb b/db/migrate/20120208122334_merge_acl_address_and_mask.rb index 48cdbbc2a..09b0ae3b0 100644 --- a/db/migrate/20120208122334_merge_acl_address_and_mask.rb +++ b/db/migrate/20120208122334_merge_acl_address_and_mask.rb @@ -11,6 +11,9 @@ class IPAddr end class MergeAclAddressAndMask < ActiveRecord::Migration[4.2] + class Acl < ApplicationRecord + end + def up Acl.find_each do |acl| address = IPAddr.new(acl.address)