mirror of
https://github.com/usememos/memos.git
synced 2024-11-18 04:34:19 +08:00
15 lines
207 B
MySQL
15 lines
207 B
MySQL
|
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';
|