ConstThe document's stored values.
The version they were written at.
Optionalto: number
The version to reach; this contract's own by default.
Optionalmigrations: readonly PersistDocumentMigration[]
The steps, by the version each upgrades from.
The upgraded values, or nothing when a step is missing.
Brings stored values from the version they were written at up to another, one migration at a time.