fix: system setting field name (#1453)

This commit is contained in:
boojack 2023-04-03 14:40:29 +08:00 committed by GitHub
parent 4419b4d4ae
commit 5aa4ba32c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,69 +1,69 @@
UPDATE UPDATE
system_setting system_setting
SET SET
key = 'server-id' name = 'server-id'
WHERE WHERE
key = 'serverId'; name = 'serverId';
UPDATE UPDATE
system_setting system_setting
SET SET
key = 'secret-session' name = 'secret-session'
WHERE WHERE
key = 'secretSessionName'; name = 'secretSessionName';
UPDATE UPDATE
system_setting system_setting
SET SET
key = 'allow-signup' name = 'allow-signup'
WHERE WHERE
key = 'allowSignUp'; name = 'allowSignUp';
UPDATE UPDATE
system_setting system_setting
SET SET
key = 'disable-public-memos' name = 'disable-public-memos'
WHERE WHERE
key = 'disablePublicMemos'; name = 'disablePublicMemos';
UPDATE UPDATE
system_setting system_setting
SET SET
key = 'additional-style' name = 'additional-style'
WHERE WHERE
key = 'additionalStyle'; name = 'additionalStyle';
UPDATE UPDATE
system_setting system_setting
SET SET
key = 'additional-script' name = 'additional-script'
WHERE WHERE
key = 'additionalScript'; name = 'additionalScript';
UPDATE UPDATE
system_setting system_setting
SET SET
key = 'customized-profile' name = 'customized-profile'
WHERE WHERE
key = 'customizedProfile'; name = 'customizedProfile';
UPDATE UPDATE
system_setting system_setting
SET SET
key = 'storage-service-id' name = 'storage-service-id'
WHERE WHERE
key = 'storageServiceId'; name = 'storageServiceId';
UPDATE UPDATE
system_setting system_setting
SET SET
key = 'local-storage-path' name = 'local-storage-path'
WHERE WHERE
key = 'localStoragePath'; name = 'localStoragePath';
UPDATE UPDATE
system_setting system_setting
SET SET
key = 'openai-config' name = 'openai-config'
WHERE WHERE
key = 'openAIConfig'; name = 'openAIConfig';