X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d130db9fa84da832a6a0cb0333982725fdc480c7..d7880031a1ab869ba5b4c2926eb43dd78701d48a:/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 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