Skip to content

Fix missing index recreation in downgrade of migration 0096_3_2_0_remove_team_id#63424

Merged
vatsrahul1001 merged 1 commit intoapache:mainfrom
astronomer:fix-migration-0096
Mar 12, 2026
Merged

Fix missing index recreation in downgrade of migration 0096_3_2_0_remove_team_id#63424
vatsrahul1001 merged 1 commit intoapache:mainfrom
astronomer:fix-migration-0096

Conversation

@vatsrahul1001
Copy link
Contributor

Added the missing create_index("idx_dag_bundle_team_team_id", ["team_id"]) in the downgrade() of migration 0096.

closes: 63423

  • Yes (please specify the tool below)
    No
  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

@vatsrahul1001 vatsrahul1001 requested review from Lee-W, ephraimbuddy and vincbeck and removed request for Lee-W and ephraimbuddy March 12, 2026 10:44
Copy link
Member

@Lee-W Lee-W left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not related to this PR. But many ALTER TABLE SQL might cause failure on SQLite. will need some test, but don't need to be part of this r

@vatsrahul1001
Copy link
Contributor Author

Not related to this PR. But many ALTER TABLE SQL might cause failure on SQLite. will need some test, but don't need to be part of this r

Yes, with SQLite there are many issue, Issue is that we are not able to run Breeze with SQLite for now. But I am looking into this. Maybe you can help us here :)

@Lee-W
Copy link
Member

Lee-W commented Mar 12, 2026

yep, definitly :)

@vatsrahul1001 vatsrahul1001 merged commit 71d62ff into apache:main Mar 12, 2026
73 checks passed
@vatsrahul1001 vatsrahul1001 deleted the fix-migration-0096 branch March 12, 2026 11:57
@vatsrahul1001 vatsrahul1001 added this to the Airflow 3.2.0 milestone Mar 12, 2026
Pyasma pushed a commit to Pyasma/airflow that referenced this pull request Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

airflow db migrate fails after airflow db downgrade due to missing index recreation in migration 0096_3_2_0_remove_team_id

4 participants