node-pg-migrate
Version:
PostgreSQL database migration management tool for node.js
6 lines (5 loc) • 377 B
TypeScript
import type { MigrationOptions } from '../../types';
import type { Name, Reversible } from '../generalTypes';
export type RenameConstraintFn = (tableName: Name, oldConstraintName: string, newConstraintName: string) => string;
export type RenameConstraint = Reversible<RenameConstraintFn>;
export declare function renameConstraint(mOptions: MigrationOptions): RenameConstraint;