mirror of
https://github.com/zadam/trilium.git
synced 2025-01-17 20:48:12 +08:00
fix anonymization
This commit is contained in:
parent
c8ec86e537
commit
77279dfe16
1 changed files with 0 additions and 1 deletions
|
@ -19,7 +19,6 @@ async function anonymize() {
|
|||
await db.run("UPDATE notes SET title = 'title', content = 'text'");
|
||||
await db.run("UPDATE note_revisions SET title = 'title', content = 'text'");
|
||||
await db.run("UPDATE branches SET prefix = 'prefix' WHERE prefix IS NOT NULL");
|
||||
await db.run("UPDATE images SET data = NULL");
|
||||
await db.run(`UPDATE options SET value = 'anonymized' WHERE name IN
|
||||
('documentSecret', 'encryptedDataKey', 'passwordVerificationHash',
|
||||
'passwordVerificationSalt', 'passwordDerivedKeySalt')`);
|
||||
|
|
Loading…
Reference in a new issue