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; drives verify() and the restore tests.

Usage

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