summaryrefslogtreecommitdiff
path: root/db/migrate/20190613030606_enable_hashed_storage_by_default.rb
blob: 8edefd1273eff5d277efdadefa3c992f058700e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

class EnableHashedStorageByDefault < ActiveRecord::Migration[5.1]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def up
    change_column_default :application_settings, :hashed_storage_enabled, true
  end

  def down
    change_column_default :application_settings, :hashed_storage_enabled, false
  end
end