]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_relation_member.rb
First version of blocking feature. Allows both time-based (for map protection) and...
[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