import of initial demo document sets sync.isSynced incorrectly to always 0, #1163

This commit is contained in:
zadam
2020-07-31 00:07:38 +02:00
parent 95bbdb3b6b
commit 3582013a33
3 changed files with 9 additions and 4 deletions

View File

@@ -82,7 +82,8 @@ async function fillSyncRows(entityName, entityPrimaryKey, condition = '') {
entityName: entityName,
entityId: entityId,
sourceId: "SYNC_FILL",
utcSyncDate: dateUtils.utcNowDateTime()
utcSyncDate: dateUtils.utcNowDateTime(),
isSynced: true
});
}
}
@@ -127,4 +128,4 @@ module.exports = {
fillAllSyncRows,
addEntitySyncsForSector,
getMaxSyncId: () => maxSyncId
};
};