defineMigrations

See source code
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

Prev
createRecordType
Next
devFreeze