Skip to main content

MigrationProgress

@webda/core


Interface: MigrationProgress

Defined in: packages/core/src/stores/migration.ts:224

Progress of a migration, stored in the Registry entry storeMigration.<store>.<name>

Properties​

continuationToken?​

optional continuationToken?: string

Defined in: packages/core/src/stores/migration.ts:226

Token of the next page of table


done​

done: boolean

Defined in: packages/core/src/stores/migration.ts:236

The last run finished


leaseUntil​

leaseUntil: number

Defined in: packages/core/src/stores/migration.ts:242

End of the lease, epoch ms; 0 when free


owner?​

optional owner?: string

Defined in: packages/core/src/stores/migration.ts:244

Runner holding the lease


scanned​

scanned: number

Defined in: packages/core/src/stores/migration.ts:230

Rows read


startedAt​

startedAt: number

Defined in: packages/core/src/stores/migration.ts:238

Start of the run, epoch ms


table?​

optional table?: string

Defined in: packages/core/src/stores/migration.ts:228

Table of the last saved page


tables​

tables: Record<string, MigrationTableReport>

Defined in: packages/core/src/stores/migration.ts:246

Report so far by table, so a resumed run ends with the same totals


unknown​

unknown: number

Defined in: packages/core/src/stores/migration.ts:234

Rows left untouched (unknown or ambiguous)


updated​

updated: number

Defined in: packages/core/src/stores/migration.ts:232

Rows patched


updatedAt​

updatedAt: number

Defined in: packages/core/src/stores/migration.ts:240

Last save, epoch ms