defineMigrations
Public function
Signature
function defineMigrations(opts: {
currentVersion?: number
firstVersion?: number
migrators?: Record<number, LegacyMigration>
subTypeKey?: string
subTypeMigrations?: Record<string, LegacyBaseMigrationsInfo>
}): LegacyMigrations
Parameters
Name | Description |
---|---|
|
|
Returns
LegacyMigrations
References
LegacyMigration, LegacyMigrations
Source