node-pg-migrate
Version:
PostgreSQL database migration management tool for node.js
6 lines (5 loc) • 425 B
TypeScript
import type { MigrationOptions } from '../../types';
import type { Name, Reversible } from '../generalTypes';
export type RenameMaterializedViewColumnFn = (viewName: Name, columnName: string, newColumnName: string) => string;
export type RenameMaterializedViewColumn = Reversible<RenameMaterializedViewColumnFn>;
export declare function renameMaterializedViewColumn(mOptions: MigrationOptions): RenameMaterializedViewColumn;