You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/10/04 12:26:01 UTC
[GitHub] [airflow] ephraimbuddy commented on a change in pull request #18439: Check and run migration in webserver startup if necessary
ephraimbuddy commented on a change in pull request #18439:
URL: https://github.com/apache/airflow/pull/18439#discussion_r721312887
##########
File path: airflow/utils/cli.py
##########
@@ -89,6 +90,8 @@ def wrapper(*args, **kwargs):
metrics = _build_metrics(f.__name__, args[0])
cli_action_loggers.on_pre_execution(**metrics)
try:
+ # Check and run migrations if necessary
+ check_and_run_migrations()
Review comment:
Ok. Is it ok to have it in webserver, triggered, scheduler, and celery components only?
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org