Commit 9a1ab4d7 authored by James Fargher's avatar James Fargher

Use string keys for repository_storages_weighted

hstore can only store string keys. So using symbols as a default causes
a confusing situation where it is a symbol until the model is reloaded
where it then loads as a string.
parent d64ccaf9
......@@ -123,7 +123,7 @@ module ApplicationSettingImplementation
raw_blob_request_limit: 300,
recaptcha_enabled: false,
repository_checks_enabled: true,
repository_storages_weighted: { default: 100 },
repository_storages_weighted: { 'default' => 100 },
repository_storages: ['default'],
require_admin_approval_after_user_signup: true,
require_two_factor_authentication: false,
......
---
title: Allow saving repository weights after a storage has been removed
merge_request: 53803
merge_request: 55689
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment