type alias Migration

Properties

id: string
up: () => Promise<void>
verify: () => Promise<void>

Runs after up(). A failure leaves the migration unrecorded for retry.

Objects this migration owns. These drive verify() and the restore tests.

Usage

import { type Migration } from "doc.ts";