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