LegacyMigrations
See source codeTable of contents
Extends LegacyBaseMigrationsInfo
.
Legacy migration configuration with support for sub-type migrations.
This interface extends the base legacy migration info to support migrations that vary based on a sub-type key within records. This allows different migration paths for different variants of the same record type, which was useful in older migration systems but is now handled more elegantly by the current Migration system.
interface LegacyMigrations extends LegacyBaseMigrationsInfo {}
Properties
currentVersion
currentVersion: number
firstVersion
firstVersion: number
migrators
migrators: {
[version: number]: LegacyMigration
}
subTypeKey
optional
subTypeKey?: string
subTypeMigrations
optional
subTypeMigrations?: Record<string, LegacyBaseMigrationsInfo>
Prev
LegacyMigrationNext
MigrationSequence