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 | |
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')
-rw-r--r-- | db/migrate/20190613030606_enable_hashed_storage_by_default.rb | 15 | ||||
-rw-r--r-- | db/schema.rb | 4 |
2 files changed, 17 insertions, 2 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 diff --git a/db/schema.rb b/db/schema.rb index a50ab02f718..c6186c52699 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20190611161641) do +ActiveRecord::Schema.define(version: 20190613030606) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -141,7 +141,7 @@ ActiveRecord::Schema.define(version: 20190611161641) do t.boolean "help_page_hide_commercial_content", default: false t.string "help_page_support_url" t.integer "performance_bar_allowed_group_id" - t.boolean "hashed_storage_enabled", default: false, null: false + t.boolean "hashed_storage_enabled", default: true, null: false t.boolean "project_export_enabled", default: true, null: false t.boolean "auto_devops_enabled", default: true, null: false t.boolean "throttle_unauthenticated_enabled", default: false, null: false |