| PHINX(1) | General Commands Manual | PHINX(1) |
phinx — PHP
database migration tool
phinx |
-V | --version |
phinx |
[-hnqv] [--help]
[--no-interaction]
[--quiet] [--verbose]
[--[no-]ansi] [further
options] command [arg
...] |
The phinx utility assists with using the
Phinx database migration tool. This manual page is only an introduction for
the utility written for Debian (but may be used by others) and not a
substitute for its interactive help facility or the official documentation;
the closest to a documentation for this utility is probably here:
https://book.cakephp.org/3.0/en/phinx/commands.html
In general, phinx operates by calling a
subcommand, which may or may not have their own (optional or required)
options and arguments, in additions to a few global options, which are as
follows (the descriptions were taken straight from the utility's on-line
help messages):
-h,
--help-n,
--no-interaction-q,
--quiet-V,
--version-v,
--verbose--ansi,
--no-ansiThe subcommands are as follows:
breakpointcreatehelpinitlistmigraterollbackseed:createseed:runstatustestDocumentation for a specific subcommand can be retrieved with:
$ phinx help command
The phinx utility exits with errorlevel
255 in Debian if the package composer is not
installed, which is an optional dependency (“Recommends”). The
status subcommand exits with errorlevel 0 if the
database is up-to-date, 1 if there is at least one migration to execute, and
2 if a migration already run and recorded in the database is now missing.
Other exit statuses are not documented. Please complain to upstream about
this.
https://book.cakephp.org/3.0/en/phinx/commands.html
| March 18, 2018 | Debian |