We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c18559 commit 0fb42f9Copy full SHA for 0fb42f9
modules/module-postgres-storage/src/storage/batch/PostgresBucketBatch.ts
@@ -571,17 +571,8 @@ export class PostgresBucketBatch
571
}
572
});
573
return tables.map((table) => {
574
- const copy = new storage.SourceTable({
575
- id: table.id,
576
- connectionTag: table.connectionTag,
577
- objectId: table.objectId,
578
- schema: table.schema,
579
- name: table.name,
580
- replicaIdColumns: table.replicaIdColumns,
581
- snapshotComplete: table.snapshotComplete
582
- });
583
- copy.syncData = table.syncData;
584
- copy.syncParameters = table.syncParameters;
+ const copy = table.clone();
+ copy.snapshotComplete = true;
585
return copy;
586
587
0 commit comments