debian-mirror-gitlab/db/fixtures/development/02_application_settings.rb

11 lines
361 B
Ruby
Raw Normal View History

2019-07-07 11:18:12 +05:30
# frozen_string_literal: true
puts "Creating the default ApplicationSetting record.".color(:green)
2019-07-31 22:56:46 +05:30
ApplicationSetting.create_from_defaults
2019-07-07 11:18:12 +05:30
# 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 '.'