]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20150818224516_set_default_gravatar_to_false_for_privacy.rb
Use model relations when creating objects from factories
[rails.git] / db / migrate / 20150818224516_set_default_gravatar_to_false_for_privacy.rb
1 class SetDefaultGravatarToFalseForPrivacy < ActiveRecord::Migration
2   def up
3     change_column :users, :image_use_gravatar, :boolean, :default => false
4   end
5
6   def down
7     change_column :users, :image_use_gravatar, :boolean, :default => true
8   end
9 end