debian-mirror-gitlab/db/fixtures/development/03_settings.rb
2019-02-15 15:39:39 +05:30

8 lines
317 B
Ruby

# 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