import { type kysely } from "https://deno.land/x/kysely_postgrs_js_dialect@v0.27.4/mod.ts";
const { MigrationResult } = kysely;
Properties
The execution status.
-
Success
means the migration was successfully executed. Note that if any of the later migrations in the MigrationResult.results list failed (have statusError
) AND the dialect supports transactional DDL, even the successfull migrations were rolled back. -
Error
means the migration failed. In this case the MigrationResult.error contains the error. -
NotExecuted
means that the migration was supposed to be executed but wasn't because an earlier migration failed.