ephraimbuddy commented on a change in pull request #21462:
URL: https://github.com/apache/airflow/pull/21462#discussion_r809744985



##########
File path: airflow/utils/db.py
##########
@@ -663,8 +669,8 @@ def check_migrations(timeout):
     ) as env, settings.engine.connect() as connection:
         env.configure(connection)
         context = env.get_context()
-        source_heads = None
-        db_heads = None
+        source_heads = set(script_.get_heads())
+        db_heads = set(context.get_current_heads())

Review comment:
       ```suggestion
           source_heads = None
           db_heads = None
   ```




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to