Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 882 Bytes

create_command.md

File metadata and controls

13 lines (10 loc) · 882 Bytes

Create command

php vendor/bin/phoenix create [-e|--environment ENVIRONMENT] [-c|--config CONFIG] [-t|--config_type CONFIG_TYPE] [-f|--output-format OUTPUT-FORMAT] [--template TEMPLATE] [-i|--indent INDENT] <migration> [<dir>]

Creates new migration file.

Options:

First four options are common, other are described here:

  • --template=TEMPLATE Path to custom migration template file, if not set, default template file is used
  • -i, --indent=INDENT Indentation. Available values: 2spaces, 3spaces, 4spaces, 5spaces, tab [default: 4spaces]

Arguments: