Skip to main content
Module

x/typeorm/src/commands/MigrationCreateCommand.ts>MigrationCreateCommand

Forked from https://github.com/typeorm/typeorm
Latest
class MigrationCreateCommand
implements [yargs.CommandModule]
import { MigrationCreateCommand } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/commands/MigrationCreateCommand.ts";

Creates a new migration file.

Properties

aliases: string
command: string
describe: string

Methods

builder(args: yargs.Argv)
handler(args: yargs.Arguments)

Static Methods

protected
getTemplate(name: string, timestamp: number): string

Gets contents of the migration file.