node-pg-migrate
Version:
PostgreSQL database migration management tool for node.js
11 lines (8 loc) • 547 B
TypeScript
import { M as MigrationOptions } from '../../migrationOptions-BgtOZlq1.js';
import { R as Reversible, N as Name } from '../../generalTypes-BlKhVJMl.js';
import '../../logger.js';
import '../../utils/createTransformer.js';
type RenameConstraintFn = (tableName: Name, oldConstraintName: string, newConstraintName: string) => string;
type RenameConstraint = Reversible<RenameConstraintFn>;
declare function renameConstraint(mOptions: MigrationOptions): RenameConstraint;
export { type RenameConstraint, type RenameConstraintFn, renameConstraint };