forked from apache/airflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automatically update the REVISIONS_HEADS_MAP in db.py (apache#33616)
* Automatically update the REVISIONS_HEADS_MAP in db.py This has been the responsibility of the release manager and manually done. In 2.7.0, I mistakenly added a wrong value for the revision which means that anyone upgrading with `airflow db migrate --version 2.7.0` will end up having incorrect migration. This PR automates this and always updates it to the correct value through pre-commit * fixup! Automatically update the REVISIONS_HEADS_MAP in db.py * Account for missing versions in revision heads map * Provide the full path of the DB file in message * Make REVISION_HEADS_MAP private * Only add from 2.0.0 up
- Loading branch information
1 parent
8ed38c1
commit 513c1d2
Showing
5 changed files
with
78 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters