-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Airflow db downgrade
cli command
#21596
Conversation
fec5311
to
f96b283
Compare
db downgrade
cli command
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good in general, is this ready for review?
f96b283
to
190715e
Compare
yes |
Adds the ability to migrate the airflow metastore schema to a previous alembic revision. In future we will add support for providing a version tag instead of the alembic revision number. fixup! Add `db downgrade` CLI command fixup! fixup! Add `db downgrade` CLI command add support for offline migration; add support for from / to migrations fix add more tests fixup! add more tests
5f7a3ff
to
b5458b3
Compare
* document airflow version in each alembic migration module and use this to autogen the doc * update each migration module to have the same description used in migration ref (so it can be used in autogen) See PR apache#21596 for reference.
LGTM |
The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease. |
Add
db downgrade
CLI commandAdds the ability to migrate the airflow metastore schema to a previous alembic revision.
Features: