]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_way.rb
Get danger working in GitHub actions
[rails.git] / app / models / old_way.rb
index dabf0aafbbfc24afc0ef566b24234f3fda4ef8b4..0c53f90bdbe2f84f1fc885499fe05cb27bbf4311 100644 (file)
 #
 
 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.