-
Notifications
You must be signed in to change notification settings - Fork 16.6k
Closed
Labels
area:CIAirflow's tests and continious integrationAirflow's tests and continious integrationarea:db-migrationsPRs with DB migrationPRs with DB migrationkind:featureFeature RequestsFeature Requests
Description
Description
Since we pruned the migration files, we no longer have those other migration files from 2.7.0 downwards, and this means that for tests in CI/dev, we have to reset the DB from ORM. The effect of this is that if you are doing a development and adding a field or a new table, you have to initialize the DB without your changes before Alembic can autogenerate the needed migrations. Else, it sees no changes.
Using breeze to create a DB from airflow 2.10 and then upgrading and running all the migration tests would help in detecting missing fields/tables in the migration files.
Use case/motivation
No response
Related issues
No response
Are you willing to submit a PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:CIAirflow's tests and continious integrationAirflow's tests and continious integrationarea:db-migrationsPRs with DB migrationPRs with DB migrationkind:featureFeature RequestsFeature Requests
Type
Projects
Status
Done