]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_relation_member.rb
fix 'edits' link. action was renamed 'list_user'
[rails.git] / app / models / old_relation_member.rb
index 9e2cce4c2ec8b76367edece77931f282e011936f..f0294d33952bd015f43c48d860ff30721b7a8b4e 100644 (file)
@@ -1,6 +1,6 @@
 class OldRelationMember < ActiveRecord::Base
 class OldRelationMember < ActiveRecord::Base
-  belongs_to :user
-
   set_table_name 'relation_members'
 
   set_table_name 'relation_members'
 
+  set_primary_keys :id, :version, :sequence_id
+  belongs_to :relation, :foreign_key=> :id
 end
 end