Skip to content
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

Change use of "airflow db upgrade" from Astro CLI in preparation of 3.0 #1703

Open
3 tasks
iancmoritz opened this issue Aug 21, 2024 · 0 comments
Open
3 tasks

Comments

@iancmoritz
Copy link
Contributor

iancmoritz commented Aug 21, 2024

The "airflow db upgrade" command is being deprecated as of 2.7. When possible, we need a strategy to replace its use with "airflow db migrate".

From the CLI side, it's referenced in at least one place here:

bash -c "(airflow db upgrade || airflow upgradedb) && airflow scheduler"

To close this ticket:

  • Define a strategy for using airflow db migrate for versions 2.7 and beyond
  • Confirm there aren't any other uses of this command in CLI for these versions
  • If there are, remove and replace those too.
@iancmoritz iancmoritz changed the title Remove use of "airflow db upgrade" from Astro CLI Change use of "airflow db upgrade" from Astro CLI in preparation of 3.0 Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants