UNPKG

pg-node-migrations

Version:

Based on the work on ThomWright's postgres migration package. Adds the ability to specify a schema and table name.

3 lines (2 loc) 263 B
import { Logger, Migration, BasicPgClient } from "./types"; export declare const runMigration: (migrationTableName: string | undefined, migrationSchemaName: string | undefined, client: BasicPgClient, log?: Logger) => (migration: Migration) => Promise<Migration>;