summaryrefslogtreecommitdiff
path: root/db/fixtures/development/02_application_settings.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/fixtures/development/02_application_settings.rb')
-rw-r--r--db/fixtures/development/02_application_settings.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/db/fixtures/development/02_application_settings.rb b/db/fixtures/development/02_application_settings.rb
new file mode 100644
index 00000000000..d604f0be3cd
--- /dev/null
+++ b/db/fixtures/development/02_application_settings.rb
@@ -0,0 +1,10 @@
+# frozen_string_literal: true
+
+puts "Creating the default ApplicationSetting record.".color(:green)
+Gitlab::CurrentSettings.current_application_settings
+
+# Details https://gitlab.com/gitlab-org/gitlab-ce/issues/46241
+puts "Enable hashed storage for every new projects.".color(:green)
+ApplicationSetting.current_without_cache.update!(hashed_storage_enabled: true)
+
+print '.'