MigrationSequence
See source codeTable of contents
interface MigrationSequence {}
Properties
retroactive
retroactive should be true if the migrations should be applied to snapshots that were created before this migration sequence was added to the schema.
In general:
- retroactive should be true when app developers create their own new migration sequences.
- retroactive should be false when library developers ship a migration sequence. When you install a library for the first time, any migrations that were added in the library before that point should generally not be applied to your existing data.
retroactive: boolean
sequence
sequence: Migration[]
sequenceId
sequenceId: string
Prev
LegacyMigrationsNext
RecordsDiff