]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_relation_member.rb
Use a nicer less error prone version of the select helper
[rails.git] / app / models / old_relation_member.rb
index f0294d33952bd015f43c48d860ff30721b7a8b4e..7bd7442dd973f46d6af1fb95aa15b2eaacb0c8a2 100644 (file)
@@ -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