debian-mirror-gitlab/db/fixtures/development/08_settings.rb

8 lines
346 B
Ruby
Raw Normal View History

2018-11-08 19:23:39 +05:30
# We want to enable hashed storage for every new project in development
# Details https://gitlab.com/gitlab-org/gitlab-ce/issues/46241
Gitlab::Seeder.quiet do
ApplicationSetting.create_from_defaults unless ApplicationSetting.current_without_cache
ApplicationSetting.current_without_cache.update!(hashed_storage_enabled: true)
print '.'
end