Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/kysely_postgrs_js_dialect/mod.ts>kysely.Migration

Kysely dialect for PostgreSQL using the Postgres.js client.
Latest
interface kysely.Migration
Re-export
import { type kysely } from "https://deno.land/x/kysely_postgrs_js_dialect@v0.27.4/mod.ts";
const { Migration } = kysely;

Methods

up(db: Kysely<any>): Promise<void>
optional
down(db: Kysely<any>): Promise<void>

An optional down method.

If you don't provide a down method, the migration is skipped when migrating down.