function defineMigrations(opts: {
  currentVersion?: number
  firstVersion?: number
  migrators?: Record<number, LegacyMigration>
  subTypeKey?: string
  subTypeMigrations?: Record<string, LegacyBaseMigrationsInfo>
}): LegacyMigrations
Parameters
NameDescription

opts

{
  currentVersion?: number
  firstVersion?: number
  migrators?: Record<number, LegacyMigration>
  subTypeKey?: string
  subTypeMigrations?: Record<
    string,
    LegacyBaseMigrationsInfo
  >
}
Returns
LegacyMigrations
createRecordTypedevFreeze