Skip to content

feat!: Add support for rolling back migrations#583

Open
ElijahAhianyo wants to merge 18 commits into
masterfrom
elijah/migrations-rollback
Open

feat!: Add support for rolling back migrations#583
ElijahAhianyo wants to merge 18 commits into
masterfrom
elijah/migrations-rollback

- add dry run

b34f193
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 29, 2026 in 1s

90.22% (-0.03%) compared to ce9f6a7

View this Pull Request on Codecov

90.22% (-0.03%) compared to ce9f6a7

Details

Codecov Report

❌ Patch coverage is 88.43188% with 45 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
cot/src/db/migrations.rs 85.22% 21 Missing and 22 partials ⚠️
cot/src/cli.rs 97.70% 2 Missing ⚠️
Files with missing lines Coverage Δ
cot/src/db/migrations/sorter.rs 93.59% <100.00%> (+0.12%) ⬆️
cot/src/utils/graph.rs 98.76% <100.00%> (+0.04%) ⬆️
cot/src/cli.rs 87.33% <97.70%> (+4.07%) ⬆️
cot/src/db/migrations.rs 84.20% <85.22%> (+0.72%) ⬆️

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.