20180109183319_change_default_value_for_pages_https_only.rb 297 Bytes
Newer Older
1
class ChangeDefaultValueForPagesHttpsOnly < ActiveRecord::Migration[4.2]
Rob Watson's avatar
Rob Watson committed
2 3 4 5 6 7 8 9 10 11 12 13
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def up
    change_column_default :projects, :pages_https_only, true
  end

  def down
    change_column_default :projects, :pages_https_only, nil
  end
end