]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20121012044047_add_image_use_gravatar_to_users.rb
Relax strict version constraint on rails gem
[rails.git] / db / migrate / 20121012044047_add_image_use_gravatar_to_users.rb
index e430d5b3cde3eec04f823c14a1b4c53ae0a29e37..dd18b068d36fb9a6f3f75dc90b2a540abce6a241 100644 (file)
@@ -1,4 +1,7 @@
-class AddImageUseGravatarToUsers < ActiveRecord::Migration
+class AddImageUseGravatarToUsers < ActiveRecord::Migration[4.2]
+  class User < ApplicationRecord
+  end
+
   def self.up
     add_column :users, :image_use_gravatar, :boolean, :null => false, :default => false