node-pg-migrate
Version:
PostgreSQL database migration management tool for node.js
14 lines (13 loc) • 476 B
TypeScript
import type { Type } from '../generalTypes';
import type { ColumnDefinitions } from '../tables';
export interface SequenceOptions {
type?: Type;
increment?: number;
minvalue?: number | null | false;
maxvalue?: number | null | false;
start?: number;
cache?: number;
cycle?: boolean;
owner?: string | null | false;
}
export declare function parseSequenceOptions(typeShorthands: ColumnDefinitions | undefined, options: SequenceOptions): string[];