ashb commented on a change in pull request #8219: Add migration waiting script
and log cleaner
URL: https://github.com/apache/airflow/pull/8219#discussion_r408690507
##########
File path: airflow/cli/cli_parser.py
##########
@@ -434,6 +434,12 @@ def __init__(self, flags=None, help=None, action=None,
default=None, nargs=None,
ARG_CFG_PATH = Arg(
("--cfg-path",),
help="Path to config file to use instead of airflow.cfg")
+ARG_MIGRATION_TIMEOUT = Arg(
+ ("-t", "--migration-wait-timeout"),
+ help="timeout to wait for db to migrate ",
+ type=int,
+ default="0",
Review comment:
We already have `airflow db check`, so perhaps `airflow db check-migrations`?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services