@blueleader07/typeorm
Version:
Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.
23 lines (22 loc) • 642 B
TypeScript
import * as yargs from "yargs";
/**
* Creates a new migration file.
*/
export declare class MigrationCreateCommand implements yargs.CommandModule {
command: string;
describe: string;
builder(args: yargs.Argv): yargs.Argv<{
o: boolean;
} & {
t: boolean;
}>;
handler(args: yargs.Arguments): Promise<void>;
/**
* Gets contents of the migration file.
*/
protected static getTemplate(name: string, timestamp: number): string;
/**
* Gets contents of the migration file in Javascript.
*/
protected static getJavascriptTemplate(name: string, timestamp: number): string;
}