]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_relation.rb
changing the belongs_to and has_many items in the models to reflect the new foriegn...
[rails.git] / app / models / old_relation.rb
index f5885f39ffb59adc799f4b5ea7832066f9654f5a..9dca97a27ae2aeab20dae1a8263583e280ee91d1 100644 (file)
@@ -1,7 +1,7 @@
 class OldRelation < ActiveRecord::Base
   set_table_name 'relations'
 
-  belongs_to :user
+  belongs_to :changeset
 
   def self.from_relation(relation)
     old_relation = OldRelation.new