typeorm
Version:
Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.
14 lines (13 loc) • 425 B
TypeScript
/**
* Generates a new migration file with sql needs to be executed to update schema.
*/
export declare class MigrationGenerateCommand {
command: string;
describe: string;
builder(yargs: any): any;
handler(argv: any): Promise<void>;
/**
* Gets contents of the migration file.
*/
protected static getTemplate(name: string, timestamp: number, upSqls: string[], downSqls: string[]): string;
}