Public function

Creates a migration sequence. See the migration guide for more info on how to use this API.

Signature
function createMigrationSequence({
  sequence,
  sequenceId,
  retroactive,
}: {
  retroactive?: boolean
  sequence: Array<Migration | StandaloneDependsOn>
  sequenceId: string
}): MigrationSequence
Parameters
NameDescription

{ sequence, sequenceId, retroactive, }

{
  retroactive?: boolean
  sequence: Array<Migration | StandaloneDependsOn>
  sequenceId: string
}
Returns
MigrationSequence
References

Migration, StandaloneDependsOn, MigrationSequence

Source

packages/store/src/lib/migrate.ts

createMigrationIdscreateRecordType