You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#4079
Remove deprecated migration steps from the `migrate_database` function in `api_app/api/routes/migrations.py`.
* **Migration Steps Removal**
- Remove multiple deprecated migration steps from the `migrate_database` function.
- Update the `migrate_database` function to only include necessary migration steps.
* **Version Update**
- Update the version in `api_app/_version.py` from "0.19.3" to "0.20.0".
* **Test Updates**
- Remove tests related to deprecated migration steps in `api_app/tests_ma/test_api/test_routes/test_migrations.py`.
- Update tests to only include necessary migration steps.
* **File Deletions**
- Delete `api_app/db/migrations/airlock.py`.
- Delete `api_app/db/migrations/resources.py`.
- Delete `api_app/db/migrations/shared_services.py`.
- Delete `api_app/db/migrations/workspaces.py`.
- Delete `api_app/tests_ma/test_db/test_migrations/test_workspace_migration.py`.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/microsoft/AzureTRE/issues/4079?shareId=XXXX-XXXX-XXXX-XXXX).
Eliminate deprecated migrations from both the
migrate.sh
script and the API migrate endpoint to enhance deployment speed.The text was updated successfully, but these errors were encountered: