Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

fix: system setting field name (#1453)

boojack5aa4ba32c9fb
diff --git a/store/db/migration/prod/0.12/01__system_setting.sql b/store/db/migration/prod/0.12/01__system_setting.sql
index e42eaf73c..12fabb77b 100644
--- a/store/db/migration/prod/0.12/01__system_setting.sql
+++ b/store/db/migration/prod/0.12/01__system_setting.sql
@@ -1,69 +1,69 @@
UPDATE
system_setting
SET
- key = 'server-id'
+ name = 'server-id'
WHERE
- key = 'serverId';
+ name = 'serverId';
UPDATE
system_setting
SET
- key = 'secret-session'
+ name = 'secret-session'
WHERE
- key = 'secretSessionName';
+ name = 'secretSessionName';
UPDATE
system_setting
SET
- key = 'allow-signup'
+ name = 'allow-signup'
WHERE
- key = 'allowSignUp';
+ name = 'allowSignUp';
UPDATE
system_setting
SET
- key = 'disable-public-memos'
+ name = 'disable-public-memos'
WHERE
- key = 'disablePublicMemos';
+ name = 'disablePublicMemos';
UPDATE
system_setting
SET
- key = 'additional-style'
+ name = 'additional-style'
WHERE
- key = 'additionalStyle';
+ name = 'additionalStyle';
UPDATE
system_setting
SET
- key = 'additional-script'
+ name = 'additional-script'
WHERE
- key = 'additionalScript';
+ name = 'additionalScript';
UPDATE
system_setting
SET
- key = 'customized-profile'
+ name = 'customized-profile'
WHERE
- key = 'customizedProfile';
+ name = 'customizedProfile';
UPDATE
system_setting
SET
- key = 'storage-service-id'
+ name = 'storage-service-id'
WHERE
- key = 'storageServiceId';
+ name = 'storageServiceId';
UPDATE
system_setting
SET
- key = 'local-storage-path'
+ name = 'local-storage-path'
WHERE
- key = 'localStoragePath';
+ name = 'localStoragePath';
UPDATE
system_setting
SET
- key = 'openai-config'
+ name = 'openai-config'
WHERE
- key = 'openAIConfig';
\ No newline at end of file
+ name = 'openAIConfig';
\ No newline at end of file