added isSynced to sync table to allow forward compatibility with 0.41

This commit is contained in:
zadam
2020-03-09 20:56:43 +01:00
parent 719f10981e
commit 73bf2dcb02
6 changed files with 28 additions and 10 deletions

View File

@@ -11,7 +11,8 @@ async function insertEntitySync(entityName, entityId, sourceId) {
entityName: entityName,
entityId: entityId,
utcSyncDate: dateUtils.utcNowDateTime(),
sourceId: sourceId || cls.getSourceId() || sourceIdService.getCurrentSourceId()
sourceId: sourceId || cls.getSourceId() || sourceIdService.getCurrentSourceId(),
isSynced: 1
};
sync.id = await sql.replace("sync", sync);