Enable Hashed Storage by default in development mode via seed_fu
This commit is contained in:
parent
37da7f2382
commit
61b14a2026
1 changed files with 8 additions and 0 deletions
8
db/fixtures/development/03_settings.rb
Normal file
8
db/fixtures/development/03_settings.rb
Normal file
|
@ -0,0 +1,8 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# Enable hashed storage, in development mode, for all projects by default.
|
||||
Gitlab::Seeder.quiet do
|
||||
ApplicationSetting.create_from_defaults unless ApplicationSetting.current_without_cache
|
||||
ApplicationSetting.current_without_cache.update!(hashed_storage_enabled: true)
|
||||
print '.'
|
||||
end
|
Loading…
Reference in a new issue