typeorm migration:create
Creates a new migration file
Options
Name | Description |
---|---|
--help | Show help for command |
-c, --connection <connection> | Name of the connection on which to run a query |
-n, --name <migration> |
|
-d, --dir <directory> | Directory where migration should be created |
-f, --config <file> | Name of the file with connection configuration |
-o, --outputJs | Generate a migration file on Javascript instead of Typescript |
-v, --version | Show the version |