X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/fd6f00b069af5a7b87227ea4c3401dc461d7311a..c05d63d06495ca1fc91beaa729c6f43763ea0f82:/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