uranusjr commented on code in PR #41207:
URL: https://github.com/apache/airflow/pull/41207#discussion_r1703747365
##########
airflow/utils/db.py:
##########
@@ -1660,11 +1660,14 @@ def upgradedb(
if errors_seen:
exit(1)
- if not to_revision and not _get_current_revision(session=session) and not
use_migration_files:
+ current_revision = _get_current_revision(session=session)
Review Comment:
That would imply also moving `initdb` into the block. I don’t have context
for that—would it work?
--
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]