@@ -0,0 +1,15 @@
+class AddUseGravatarToUsers < ActiveRecord::Migration
+  def self.up
+    add_column :users, :use_gravatar, :boolean, :null => false, :default => false
+
+    User.all.each do |user|
+      # For people who don't have images on osm.org, enable Gravatar.
+      user.use_gravatar = !user.image.file?
+      user.save
+    end
+  end
+
+  def self.down
+    remove_column :users, :use_gravatar
+  end
+end
What did you think about my previous suggestion of changing this to `image_gravatar` or `image_use_gravatar` to group it better with the other image related fields?