mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 14:55:50 +01:00
refactored "sync" table to "entity_changes"
This commit is contained in:
@@ -49,7 +49,7 @@ function loginSync(req) {
|
||||
|
||||
return {
|
||||
sourceId: sourceIdService.getCurrentSourceId(),
|
||||
maxSyncId: sql.getValue("SELECT COALESCE(MAX(id), 0) FROM sync WHERE isSynced = 1")
|
||||
maxEntityChangeId: sql.getValue("SELECT COALESCE(MAX(id), 0) FROM entity_changes WHERE isSynced = 1")
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user