X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3c706ab8470e3c638126abd765d3295ed543aea5..314713e73dae99302d02315c9f9182e881ad9241:/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.