Merge branch 'stable'

# Conflicts:
#	src/services/consistency_checks.js
This commit is contained in:
zadam
2019-11-10 21:35:11 +01:00
9 changed files with 294 additions and 56 deletions

View File

@@ -267,7 +267,7 @@ async function findExistencyIssues() {
FROM branches
WHERE noteId = ?
and parentNoteId = ?
and isDeleted = 1`, [noteId, parentNoteId]);
and isDeleted = 0`, [noteId, parentNoteId]);
// it's not necessarily "original" branch, it's just the only one which will survive
const origBranch = branches[0];