You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
Got tags working and fixed sync issue
This commit is contained in:
@@ -193,6 +193,14 @@ class JoplinDatabase extends Database {
|
||||
// 1. Add the new version number to the existingDatabaseVersions array
|
||||
// 2. Add the upgrade logic to the "switch (targetVersion)" statement below
|
||||
|
||||
// IMPORTANT:
|
||||
//
|
||||
// Whenever adding a new database property, some additional logic might be needed
|
||||
// in the synchronizer to handle this property. For example, when adding a property
|
||||
// that should have a default value, existing remote items will not have this
|
||||
// default value and thus might cause problems. In that case, the default value
|
||||
// must be set in the synchronizer too.
|
||||
|
||||
const existingDatabaseVersions = [0, 1, 2, 3, 4, 5];
|
||||
|
||||
let currentVersionIndex = existingDatabaseVersions.indexOf(fromVersion);
|
||||
|
||||
Reference in New Issue
Block a user