]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_relation.rb
Merge pull request #5151 from AntonKhorev/no-history-and-export-buttons
[rails.git] / app / models / old_relation.rb
index 6f122b260873e35af24d432b5db28e7c6f5e666a..9f551d839fc2c57be000f37f67ccd952ec9a313c 100644 (file)
 #
 
 class OldRelation < ApplicationRecord
-  include ConsistencyValidations
-
   self.table_name = "relations"
-  self.primary_keys = "relation_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.