]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20121012044047_add_image_use_gravatar_to_users.rb
Enable rails 7.1 changes to model callbacks
[rails.git] / db / migrate / 20121012044047_add_image_use_gravatar_to_users.rb
index 6099f554692c219abd0f19377e3d2d3c663912e0..dd18b068d36fb9a6f3f75dc90b2a540abce6a241 100644 (file)
@@ -1,4 +1,7 @@
 class AddImageUseGravatarToUsers < ActiveRecord::Migration[4.2]
+  class User < ApplicationRecord
+  end
+
   def self.up
     add_column :users, :image_use_gravatar, :boolean, :null => false, :default => false