UNPKG

node-pg-migrate

Version:

PostgreSQL database migration management tool for node.js

19 lines (18 loc) 507 B
import type { Value } from '../generalTypes'; export interface RoleOptions { superuser?: boolean; createdb?: boolean; createrole?: boolean; inherit?: boolean; login?: boolean; replication?: boolean; bypassrls?: boolean; limit?: number; password?: Value; encrypted?: boolean; valid?: Value; inRole?: string | string[]; role?: string | string[]; admin?: string | string[]; } export declare function formatRoleOptions(roleOptions?: RoleOptions): string;