mirror of
https://github.com/zadam/trilium.git
synced 2025-01-18 04:59:56 +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 notes SET title = 'title', content = 'text'");
|
||||||
await db.run("UPDATE note_revisions 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 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
|
await db.run(`UPDATE options SET value = 'anonymized' WHERE name IN
|
||||||
('documentSecret', 'encryptedDataKey', 'passwordVerificationHash',
|
('documentSecret', 'encryptedDataKey', 'passwordVerificationHash',
|
||||||
'passwordVerificationSalt', 'passwordDerivedKeySalt')`);
|
'passwordVerificationSalt', 'passwordDerivedKeySalt')`);
|
||||||
|
|
Loading…
Reference in a new issue