Search
Preparing search index...
The search index is not available
typeorm
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"commands/MigrationCreateCommand"
MigrationCreateCommand
Class MigrationCreateCommand
Creates a new migration file.
Hierarchy
MigrationCreateCommand
Index
Properties
command
describe
Methods
builder
handler
get
Template
Properties
command
command
:
string
= "migration:create"
describe
describe
:
string
= "Creates a new migration file."
Methods
builder
builder
(
yargs
:
any
)
:
any
Parameters
yargs:
any
Returns
any
handler
handler
(
argv
:
any
)
:
Promise
<
void
>
Parameters
argv:
any
Returns
Promise
<
void
>
Static
Protected
get
Template
get
Template
(
name
:
string
, timestamp
:
number
)
:
string
Gets contents of the migration file.
Parameters
name:
string
timestamp:
number
Returns
string
Globals
"commands/
Migration
Create
Command"
Migration
Create
Command
command
describe
builder
handler
get
Template
chalk
Generated using
TypeDoc
Creates a new migration file.