-
Notifications
You must be signed in to change notification settings - Fork 106
Closed
Description
Currently, the --backfill-batch-delay
and --backfill-batch-size
flags are global flags:
Usage:
pgroll [command]
Available Commands:
complete Complete an ongoing migration with the operations present in the given file
completion Generate the autocompletion script for the specified shell
help Help about any command
init Initialize pgroll in the target database
latest Print the name of the latest schema version, either in the target database or a local directory
migrate Apply outstanding migrations from a directory to a database
pull Pull migration history from the target database and write it to disk
rollback Roll back an ongoing migration
start Start a migration for the operations present in the given file
status Show pgroll status
Flags:
--backfill-batch-delay duration Duration of delay between batch backfills (eg. 1s, 1000ms)
--backfill-batch-size int Number of rows backfilled in each batch (default 1000)
-h, --help help for pgroll
--lock-timeout int Postgres lock timeout in milliseconds for pgroll DDL operations (default 500)
--pgroll-schema string Postgres schema to use for pgroll internal state (default "pgroll")
--postgres-url string Postgres URL (default "postgres://postgres:postgres@localhost?sslmode=disable")
--role string Optional postgres role to set when executing migrations
--schema string Postgres schema to use for the migration (default "public")
-v, --version version for pgroll
Use "pgroll [command] --help" for more information about a command.
but they only make sense when applied to the start
command.
The two flags should be removed from global flags and added as start
command flags.
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers