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