]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_relation.rb
Get danger working in GitHub actions
[rails.git] / app / models / old_relation.rb
index 6f122b260873e35af24d432b5db28e7c6f5e666a..9f551d839fc2c57be000f37f67ccd952ec9a313c 100644 (file)
 #
 
 class OldRelation < ApplicationRecord
 #
 
 class OldRelation < ApplicationRecord
-  include ConsistencyValidations
-
   self.table_name = "relations"
   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.
 
   # NOTE: this needs to be included after the table name changes, or
   # the queries generated by Redactable will use the wrong table name.