UNPKG

node-pg-migrate

Version:

PostgreSQL database migration management tool for node.js

9 lines (8 loc) 572 B
import type { MigrationOptions } from '../../types'; import type { Name, Reversible } from '../generalTypes'; import type { DropOperatorFamilyOptions } from './dropOperatorFamily'; export interface CreateOperatorFamilyOptions { } export type CreateOperatorFamilyFn = (operatorFamilyName: Name, indexMethod: Name, operatorFamilyOptions?: CreateOperatorFamilyOptions & DropOperatorFamilyOptions) => string; export type CreateOperatorFamily = Reversible<CreateOperatorFamilyFn>; export declare function createOperatorFamily(mOptions: MigrationOptions): CreateOperatorFamily;