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