20180508055821_make_remote_mirrors_disabled_by_default.rb 241 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
class MakeRemoteMirrorsDisabledByDefault < ActiveRecord::Migration
  DOWNTIME = false

  def up
    change_column_default :remote_mirrors, :enabled, false
  end

  def down
    change_column_default :remote_mirrors, :enabled, true
  end
end