]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/relation_member.rb
Fix warning on unescaped hyphen in regexp
[rails.git] / app / models / relation_member.rb
index 8ff825cee5e3a8105b784f0faa483638cc7361a1..2b72cd2b182595bd6f6abb2d138559c700572103 100644 (file)
@@ -19,7 +19,6 @@
 
 class RelationMember < ApplicationRecord
   self.table_name = "current_relation_members"
 
 class RelationMember < ApplicationRecord
   self.table_name = "current_relation_members"
-  self.primary_key = %w[relation_id sequence_id]
 
   belongs_to :relation
   belongs_to :member, :polymorphic => true
 
   belongs_to :relation
   belongs_to :member, :polymorphic => true