Scroll to navigation

USAGE:(1) User Commands USAGE:(1)

NAME

usage: - Database schema migration tool

DESCRIPTION

usage: yoyo [-h] [--config CONFIG] [-v] [-b] [--no-config-file]

{apply,develop,list,rollback,reapply,mark,unmark,break-lock,new} ...

positional arguments:

{apply,develop,list,rollback,reapply,mark,unmark,break-lock,new}
Commands help
Apply migrations
Apply migrations without prompting. If there are no unapplied migrations, reapply the last migration
List all available and applied migrations. Each listed migration is prefixed with either A (applied) or U (unapplied)
Rollback migrations
Rollback then reapply migrations
Mark migrations as applied, without running them
Unmark applied migrations, without rolling them back
Break migration locks
Create a new migration

optional arguments:

show this help message and exit
Path to config file
Verbose output. Use multiple times to increase level of verbosity
Run in batch mode. Turns off all user prompts
Don't look for a yoyo.ini config file
{apply,develop,list,rollback,reapply,mark,unmark,break-lock,new} ...

positional arguments:

{apply,develop,list,rollback,reapply,mark,unmark,break-lock,new}
Commands help
Apply migrations
Apply migrations without prompting. If there are no unapplied migrations, reapply the last migration
List all available and applied migrations. Each listed migration is prefixed with either A (applied) or U (unapplied)
Rollback migrations
Rollback then reapply migrations
Mark migrations as applied, without running them
Unmark applied migrations, without rolling them back
Break migration locks
Create a new migration

optional arguments:

show this help message and exit
Path to config file
Verbose output. Use multiple times to increase level of verbosity
Run in batch mode. Turns off all user prompts
Don't look for a yoyo.ini config file
January 2021 usage: yoyo [-h] [--config CONFIG] [-v] [-b] [--no-config-file]