]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/relation_member.rb
Merge remote-tracking branch 'upstream/pull/5751'
[rails.git] / app / models / relation_member.rb
index 8ff825cee5e3a8105b784f0faa483638cc7361a1..c9723e48b5b2cab776060d9606866e807856ccf5 100644 (file)
@@ -2,9 +2,9 @@
 #
 # Table name: current_relation_members
 #
-#  relation_id :bigint(8)        not null, primary key
+#  relation_id :bigint           not null, primary key
 #  member_type :enum             not null
-#  member_id   :bigint(8)        not null
+#  member_id   :bigint           not null
 #  member_role :string           not null
 #  sequence_id :integer          default(0), not null, primary key
 #
@@ -19,7 +19,6 @@
 
 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