mirror of
https://github.com/usememos/memos.git
synced 2024-11-18 04:34:19 +08:00
8a33290722
* chore: update user settng key convention * chore: update
15 lines
No EOL
207 B
SQL
15 lines
No EOL
207 B
SQL
INSERT INTO
|
|
user_setting (user_id, key, value)
|
|
SELECT
|
|
user_id,
|
|
'memo-visibility',
|
|
value
|
|
FROM
|
|
user_setting
|
|
WHERE
|
|
key = 'memoVisibility';
|
|
|
|
DELETE FROM
|
|
user_setting
|
|
WHERE
|
|
key = 'memoVisibility'; |