]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20121012044047_add_image_use_gravatar_to_users.rb
Resourceful routing for passwords
[rails.git] / db / migrate / 20121012044047_add_image_use_gravatar_to_users.rb
index 532edd2c74ad78f134afe679dc2bd3403dd7c9df..dd18b068d36fb9a6f3f75dc90b2a540abce6a241 100644 (file)
@@ -1,4 +1,7 @@
-class AddImageUseGravatarToUsers < ActiveRecord::Migration[5.0]
+class AddImageUseGravatarToUsers < ActiveRecord::Migration[4.2]
+  class User < ApplicationRecord
+  end
+
   def self.up
     add_column :users, :image_use_gravatar, :boolean, :null => false, :default => false