TLPropsMigration
Table of contents
interface TLPropsMigration {}
Properties
readonly dependsOn?: MigrationId[]
If a down migration was deployed more than a couple of months ago it should be safe to retire it. We only really need them to smooth over the transition between versions, and some folks do keep browser tabs open for months without refreshing, but at a certain point that kind of behavior is on them. Plus anyway recently chrome has started to actually kill tabs that are open for too long rather than just suspending them, so if other browsers follow suit maybe it's less of a concern.
readonly down?: 'none' | 'retired' | ((props: any) => any)
readonly id: MigrationId
readonly up: (props: any) => any