X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/328d47e506972fededfa1080967224928c36a4cf..fb5f39f19ae00dad9ec896e216e8e813de42c151:/app/models/old_node.rb?ds=sidebyside diff --git a/app/models/old_node.rb b/app/models/old_node.rb index d4d9f1775..8b3ba784b 100644 --- a/app/models/old_node.rb +++ b/app/models/old_node.rb @@ -1,5 +1,6 @@ class OldNode < ActiveRecord::Base include GeoRecord + include ConsistencyValidations set_table_name 'nodes' @@ -38,6 +39,7 @@ class OldNode < ActiveRecord::Base el1['id'] = self.id.to_s el1['lat'] = self.lat.to_s el1['lon'] = self.lon.to_s + el1['changeset'] = self.changeset.id.to_s el1['user'] = self.changeset.user.display_name if self.changeset.user.data_public? self.tags.each do |k,v|