node-pg-migrate
Version:
PostgreSQL database migration management tool for node.js
6 lines (5 loc) • 346 B
TypeScript
import type { MigrationOptions } from '../../types';
import type { Name, Reversible } from '../generalTypes';
export type RenamePolicyFn = (tableName: Name, policyName: string, newPolicyName: string) => string;
export type RenamePolicy = Reversible<RenamePolicyFn>;
export declare function renamePolicy(mOptions: MigrationOptions): RenamePolicy;