UNPKG

node-pg-migrate

Version:

PostgreSQL database migration management tool for node.js

7 lines (6 loc) 422 B
import type { MigrationOptions } from '../../types'; import type { Name, Reversible } from '../generalTypes'; import type { FunctionParam } from './shared'; export type RenameFunctionFn = (oldFunctionName: Name, functionParams: FunctionParam[], newFunctionName: Name) => string; export type RenameFunction = Reversible<RenameFunctionFn>; export declare function renameFunction(mOptions: MigrationOptions): RenameFunction;