mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
bulk push sync
This commit is contained in:
@@ -91,6 +91,8 @@ async function fillSyncRows(entityName, entityKey) {
|
||||
}
|
||||
|
||||
async function fillAllSyncRows() {
|
||||
await sql.execute("DELETE FROM sync");
|
||||
|
||||
await fillSyncRows("notes", "noteId");
|
||||
await fillSyncRows("branches", "branchId");
|
||||
await fillSyncRows("note_revisions", "noteRevisionId");
|
||||
|
||||
Reference in New Issue
Block a user