MigrationProgress
Interface: MigrationProgress
Defined in: packages/core/src/stores/migration.ts:225
Progress of a migration, stored in the Registry entry storeMigration.<store>.<name>
Properties
continuationToken?
optionalcontinuationToken?:string
Defined in: packages/core/src/stores/migration.ts:227
Token of the next page of table
done
done:
boolean
Defined in: packages/core/src/stores/migration.ts:237
The last run finished
leaseUntil
leaseUntil:
number
Defined in: packages/core/src/stores/migration.ts:243
End of the lease, epoch ms; 0 when free
owner?
optionalowner?:string
Defined in: packages/core/src/stores/migration.ts:245
Runner holding the lease
scanned
scanned:
number
Defined in: packages/core/src/stores/migration.ts:231
Rows read
startedAt
startedAt:
number
Defined in: packages/core/src/stores/migration.ts:239
Start of the run, epoch ms
table?
optionaltable?:string
Defined in: packages/core/src/stores/migration.ts:229
Table of the last saved page
tables
tables:
Record<string,MigrationTableReport>
Defined in: packages/core/src/stores/migration.ts:247
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:235
Rows left untouched (unknown or ambiguous)
updated
updated:
number
Defined in: packages/core/src/stores/migration.ts:233
Rows patched
updatedAt
updatedAt:
number
Defined in: packages/core/src/stores/migration.ts:241
Last save, epoch ms