diff options
author | Gabriel Mazetto <brodock@gmail.com> | 2019-06-13 05:18:05 +0200 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2019-06-17 20:35:22 +0200 |
commit | 39229eed34eb0ec27a09aeb174668919239d8a8c (patch) | |
tree | 245d7f78a302dbd20cdbb87999ccdba3244f8829 /db/migrate | |
parent | d2929d6edb3a04054a5218cb1b21cb0759ec1ec8 (diff) | |
download | gitlab-ce-39229eed34eb0ec27a09aeb174668919239d8a8c.tar.gz |
Hashed Storage is enabled by default on new installationshashed-storage-enabled-default
updated documentation for Geo
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20190613030606_enable_hashed_storage_by_default.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/db/migrate/20190613030606_enable_hashed_storage_by_default.rb b/db/migrate/20190613030606_enable_hashed_storage_by_default.rb new file mode 100644 index 00000000000..8edefd1273e --- /dev/null +++ b/db/migrate/20190613030606_enable_hashed_storage_by_default.rb @@ -0,0 +1,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 |