Sha256: a7b65d3f36abe99f056266b3bce335dcb6d8bd12692266db0b8d308a258549c9

Contents?: true

Size: 275 Bytes

Versions: 1

Compression:

Stored size: 275 Bytes

Contents

class ChangeUserPreferencesHideMailDefaultToTrue < ActiveRecord::Migration
  def self.up
    change_column :user_preferences, :hide_mail, :boolean, :default => true
  end

  def self.down
    change_column :user_preferences, :hide_mail, :boolean, :default => false
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
redmine_extensions-0.1.15 spec/redmine/db/migrate/20151021190616_change_user_preferences_hide_mail_default_to_true.rb