NAME
usage: - Database schema migration tool
DESCRIPTION
usage: yoyo [-h] [--config CONFIG] [-v] [-b] [--no-config-file]
-
{init,apply,develop,list,rollback,reapply,mark,unmark,break-lock,new} ...
positional arguments:
- {init,apply,develop,list,rollback,reapply,mark,unmark,break-lock,new}
-
Commands help
- init
-
Initialize a new project
- apply
-
Apply migrations
- develop
-
Apply migrations without prompting. If there are no unapplied migrations, reapply the last migration
- list
-
List all available and applied migrations. Each listed migration is prefixed with either A (applied) or U (unapplied)
- rollback
-
Rollback migrations
- reapply
-
Rollback then reapply migrations
- mark
-
Mark migrations as applied, without running them
- unmark
-
Unmark applied migrations, without rolling them back
- break-lock
-
Break migration locks
- new
-
Create a new migration
options:
- -h, --help
-
show this help message and exit
- --config, -c CONFIG
-
Path to config file
- -v
-
Verbose output. Use multiple times to increase level of verbosity
- -b, --batch
-
Run in batch mode. Turns off all user prompts
- --no-config-file, --no-cache
-
Don't look for a yoyo.ini config file
-
{init,apply,develop,list,rollback,reapply,mark,unmark,break-lock,new} ...
positional arguments:
- {init,apply,develop,list,rollback,reapply,mark,unmark,break-lock,new}
-
Commands help
- init
-
Initialize a new project
- apply
-
Apply migrations
- develop
-
Apply migrations without prompting. If there are no unapplied migrations, reapply the last migration
- list
-
List all available and applied migrations. Each listed migration is prefixed with either A (applied) or U (unapplied)
- rollback
-
Rollback migrations
- reapply
-
Rollback then reapply migrations
- mark
-
Mark migrations as applied, without running them
- unmark
-
Unmark applied migrations, without rolling them back
- break-lock
-
Break migration locks
- new
-
Create a new migration
options:
- -h, --help
-
show this help message and exit
- --config, -c CONFIG
-
Path to config file
- -v
-
Verbose output. Use multiple times to increase level of verbosity
- -b, --batch
-
Run in batch mode. Turns off all user prompts
- --no-config-file, --no-cache
-
Don't look for a yoyo.ini config file