UNPKG

fewer

Version:

A minimal ORM for Node.js.

18 lines (17 loc) 406 B
import ColumnType from '../ColumnType'; export interface ColumnTypes { [columnName: string]: ColumnType; } export interface CreateTable { type: 'createTable'; name: string; options: any; columns: ColumnTypes; } export interface DropTable { type: 'dropTable'; name: string; options?: any; columns?: ColumnTypes; } export declare type Operation = CreateTable | DropTable;