]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/relation.rb
Migration to add close-time to changesets. This replaces the boolean 'open' attribute...
[rails.git] / app / models / relation.rb
index b94aef9ae9bb3946e5c4f4caad0971d37e0f7364..2607e7f2fd3c0f17ecb314730248839f494e7f52 100644 (file)
@@ -307,6 +307,9 @@ class Relation < ActiveRecord::Base
         end
       end
 
+      # tell the changeset we updated one element only
+      changeset.add_changes! 1
+
       # save the (maybe updated) changeset bounding box
       changeset.save!
     end