From 1e18443a121b6d55b509a27a4c27719222ffee06 Mon Sep 17 00:00:00 2001 From: azivner Date: Wed, 17 Jan 2018 23:06:02 -0500 Subject: [PATCH] up to date with Trilium 0.4 --- compare.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/compare.js b/compare.js index 470e0228b..6ba8b00c0 100644 --- a/compare.js +++ b/compare.js @@ -65,11 +65,8 @@ async function main() { await compare("notes", "note_id", "SELECT note_id, note_title, note_text, date_modified, is_protected, is_deleted FROM notes"); await compare("notes_history", "note_history_id", "SELECT note_history_id, note_id, note_title, note_text, date_modified_from, date_modified_to, is_protected FROM notes_history"); await compare("recent_notes", "note_tree_id", "SELECT note_tree_id, note_path, date_accessed, is_deleted FROM recent_notes"); - await compare("options", "opt_name", `SELECT opt_name, opt_value FROM options WHERE opt_name IN ('username', - 'password_verification_hash', - 'encrypted_data_key', - 'protected_session_timeout', - 'history_snapshot_time_interval')`); + await compare("options", "opt_name", `SELECT opt_name, opt_value FROM options WHERE is_synced = 1`); + await compare("attributes", "attribute_id", "SELECT attribute_id, note_id, name, value, date_created, date_modified FROM attributes"); } (async () => {