Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add migration for rendered_map_index column in task_instance table. #37708

Merged
merged 3 commits into from
Feb 29, 2024

Conversation

tirkarthi
Copy link
Contributor

Add migration for rendered_map_index column added to task_instance table in PR #36797

related: #36797

@jedcunningham
Copy link
Member

Didn't we have a test to ensure migrations and models always build the same db? Wonder when that broke...

@potiuk
Copy link
Member

potiuk commented Feb 27, 2024

Didn't we have a test to ensure migrations and models always build the same db? Wonder when that broke...

We never had those. We have a migration test that runs the migration up and down - but we never compared if the result is the same as the Models we have.

@potiuk
Copy link
Member

potiuk commented Feb 27, 2024

Just a watch-out - we have two migrations in-progress. I think we have a protection that will make the secon one not mergable if the first is but there will be some re-work needed once the other mighration is merged. #37731

@uranusjr
Copy link
Member

It’s interesting to me this does not show up in tests that use rendered_map_index though. SQLAlchemy is more permissive than I imagined…

@uranusjr uranusjr merged commit 855a354 into apache:main Feb 29, 2024
59 checks passed
@ephraimbuddy ephraimbuddy added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Mar 6, 2024
@ephraimbuddy ephraimbuddy added this to the Airflow 2.9.0 milestone Mar 6, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) kind:documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants