Module

x/kysely_postgrs_js_dialect/mod.ts>kysely.Migrator#migrateUp

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

Migrate one step up.

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.migrateUp()