mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 05:46:10 +01:00
small changes to table names (notes_image => note_images etc.)
This commit is contained in:
@@ -17,8 +17,8 @@ async function anonymize() {
|
||||
const db = await sqlite.open(anonymizedFile, {Promise});
|
||||
|
||||
await db.run("UPDATE notes SET title = 'title', content = 'text'");
|
||||
await db.run("UPDATE notes_history SET title = 'title', content = 'text'");
|
||||
await db.run("UPDATE notes_tree SET prefix = 'prefix' WHERE prefix IS NOT NULL");
|
||||
await db.run("UPDATE note_revisions SET title = 'title', content = 'text'");
|
||||
await db.run("UPDATE note_tree SET prefix = 'prefix' WHERE prefix IS NOT NULL");
|
||||
await db.run(`UPDATE options SET value = 'anonymized' WHERE name IN
|
||||
('document_secret', 'encrypted_data_key', 'password_verification_hash',
|
||||
'password_verification_salt', 'password_derived_key_salt')`);
|
||||
|
||||
Reference in New Issue
Block a user