X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ad434992058ed270b3380d882b91c7f2a91434be..57c73a25bd0258c57f8315435ae05998ac3a2b36:/db/migrate/20121012044047_add_image_use_gravatar_to_users.rb diff --git a/db/migrate/20121012044047_add_image_use_gravatar_to_users.rb b/db/migrate/20121012044047_add_image_use_gravatar_to_users.rb index e430d5b3c..9e9151a84 100644 --- a/db/migrate/20121012044047_add_image_use_gravatar_to_users.rb +++ b/db/migrate/20121012044047_add_image_use_gravatar_to_users.rb @@ -1,4 +1,7 @@ -class AddImageUseGravatarToUsers < ActiveRecord::Migration +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