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: numberfirstVersion
firstVersion: numbermigrators
migrators: {
[version: number]: LegacyMigration
}subTypeKey
optional
subTypeKey?: stringsubTypeMigrations
optional
subTypeMigrations?: Record<string, LegacyBaseMigrationsInfo>Prev
LegacyMigrationNext
MigrationSequence