node-pg-migrate
Version:
PostgreSQL database migration management tool for node.js
6 lines (5 loc) • 418 B
TypeScript
import type { FunctionParamType } from '../operations/functions';
import type { Type } from '../operations/generalTypes';
import type { ColumnDefinition, ColumnDefinitions } from '../operations/tables';
export declare function applyTypeAdapters(type: string): string;
export declare function applyType(type: Readonly<Type>, extendingTypeShorthands?: Readonly<ColumnDefinitions>): ColumnDefinition & FunctionParamType;