]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20121012044047_add_image_use_gravatar_to_users.rb
When overriding setup make sure to call the superclass
[rails.git] / db / migrate / 20121012044047_add_image_use_gravatar_to_users.rb
index 6099f554692c219abd0f19377e3d2d3c663912e0..9e9151a849a8430ca518122dc62a867c1fbbbea2 100644 (file)
@@ -1,4 +1,7 @@
 class AddImageUseGravatarToUsers < ActiveRecord::Migration[4.2]
+  class User < ActiveRecord::Base
+  end
+
   def self.up
     add_column :users, :image_use_gravatar, :boolean, :null => false, :default => false