X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a4edd3fd04b3f97fcff2fd77977fd2e2324f30d8..754e811b70aa309b080e102ed629672f1558866b:/app/models/old_way.rb diff --git a/app/models/old_way.rb b/app/models/old_way.rb index dabf0aafb..0c53f90bd 100644 --- a/app/models/old_way.rb +++ b/app/models/old_way.rb @@ -21,10 +21,7 @@ # class OldWay < ApplicationRecord - include ConsistencyValidations - self.table_name = "ways" - self.primary_keys = "way_id", "version" # NOTE: this needs to be included after the table name changes, or # the queries generated by Redactable will use the wrong table name.