X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8750405bf7cc44ef53ea2387c5315925175de169..9adae1c52331330fd215a6451e546d16d4377a35:/db/migrate/20120208122334_merge_acl_address_and_mask.rb?ds=sidebyside diff --git a/db/migrate/20120208122334_merge_acl_address_and_mask.rb b/db/migrate/20120208122334_merge_acl_address_and_mask.rb index f05cb4f21..5cac10740 100644 --- a/db/migrate/20120208122334_merge_acl_address_and_mask.rb +++ b/db/migrate/20120208122334_merge_acl_address_and_mask.rb @@ -11,7 +11,7 @@ class IPAddr end class MergeAclAddressAndMask < ActiveRecord::Migration[4.2] - class Acl < ActiveRecord::Base + class Acl < ApplicationRecord end def up @@ -21,7 +21,7 @@ class MergeAclAddressAndMask < ActiveRecord::Migration[4.2] prefix = 0 while netmask != "0.0.0.0" - netmask = netmask << 1 + netmask <<= 1 prefix += 1 end