This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new f013d2f855 Point users at `db migrate` if there are outstanding 
migrations (#42670)
f013d2f855 is described below

commit f013d2f8555eb7c5d982acfc6dc2e8b35a8f03b4
Author: Jed Cunningham <[email protected]>
AuthorDate: Wed Oct 2 17:44:07 2024 -0600

    Point users at `db migrate` if there are outstanding migrations (#42670)
---
 airflow/utils/db.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/airflow/utils/db.py b/airflow/utils/db.py
index 8a254d4fef..898da02078 100644
--- a/airflow/utils/db.py
+++ b/airflow/utils/db.py
@@ -882,8 +882,8 @@ def check_and_run_migrations():
         verb = "initialize"
     elif source_heads != db_heads:
         db_command = upgradedb
-        command_name = "upgrade"
-        verb = "upgrade"
+        command_name = "migrate"
+        verb = "migrate"
 
     if sys.stdout.isatty() and verb:
         print()

Reply via email to