]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/relation_member.rb
Merge remote-tracking branch 'upstream/pull/4304'
[rails.git] / app / models / relation_member.rb
index dd47bdcf6d4cbd31a8affa796fc1eabac9166fcc..8ff825cee5e3a8105b784f0faa483638cc7361a1 100644 (file)
@@ -19,7 +19,7 @@
 
 class RelationMember < ApplicationRecord
   self.table_name = "current_relation_members"
-  self.primary_keys = "relation_id", "sequence_id"
+  self.primary_key = %w[relation_id sequence_id]
 
   belongs_to :relation
   belongs_to :member, :polymorphic => true