X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fd6f00b069af5a7b87227ea4c3401dc461d7311a..3d0bf9a61ac486cbdea767dc20a2142d5f873ae5:/app/models/old_relation_member.rb diff --git a/app/models/old_relation_member.rb b/app/models/old_relation_member.rb index f0294d339..7bd7442dd 100644 --- a/app/models/old_relation_member.rb +++ b/app/models/old_relation_member.rb @@ -3,4 +3,6 @@ class OldRelationMember < ActiveRecord::Base set_primary_keys :id, :version, :sequence_id belongs_to :relation, :foreign_key=> :id + # A bit messy, referring to the current tables, should do for the data browser for now + belongs_to :member, :polymorphic => true end