X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aa1fb6dbb8c2e71b8ce8c231ae1272a2dfebd75a..96ef05b5f7a9a5d64affa8806a9259f61aed3b1f:/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 532edd2c7..dd18b068d 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[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