Module

x/kysely_postgrs_js_dialect/deps.ts>kysely.Migrator#migrateDown

Kysely dialect for PostgreSQL using the Postgres.js client.
method kysely.Migrator.prototype.migrateDown
import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/deps.ts";
const { Migrator } = kysely;

Migrate one step down.

This method returns a MigrationResultSet instance and never throws. {@link MigrationResultSet.error} holds the error if something went wrong. {@link MigrationResultSet.results} contains information about which migrations were executed and which failed.

Examples

await migrator.migrateDown()