sequelize-typescript-mysql-migration
Version:
Migration tool for sequelize-typescript with MySQL
10 lines (9 loc) • 551 B
TypeScript
import { IndexesOptions } from 'sequelize/types';
export declare const genAddIndexCommand: (tableName: string, isUnderscore: boolean, option: IndexesOptions) => string;
export declare const genAddIndexesCommands: (tableName: string, isUnderscore: boolean | undefined, options: {
[idx: string]: IndexesOptions;
}) => string[];
export declare const genRemoveIndexCommand: (tableName: string, idxName: string) => string;
export declare const genRemoveIndexesCommands: (tableName: string, options: {
[idx: string]: IndexesOptions;
}) => string[];