guan404ming commented on code in PR #49002:
URL: https://github.com/apache/airflow/pull/49002#discussion_r2035137971


##########
airflow-core/src/airflow/cli/cli_config.py:
##########
@@ -1406,6 +1406,13 @@ class GroupCommand(NamedTuple):
         func=lazy_load_command("airflow.cli.commands.db_command.check"),
         args=(ARG_VERBOSE, ARG_DB_RETRY, ARG_DB_RETRY_DELAY),
     ),
+    ActionCommand(
+        name="check-models",
+        help="Check if there are model changes without a corresponding 
migration",
+        description="Check if the current models require new migrations to be 
generated",
+        func=lazy_load_command("airflow.cli.commands.db_command.check_models"),
+        args=(ARG_VERBOSE,),
+    ),

Review Comment:
   Thanks for reviewing, I would remove it from airflow/db~



-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to