Remove extraneous fields from primary keys for relation members
This commit is contained in:
parent
af8e08960e
commit
4f542ef900
4 changed files with 14 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue