• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

migration-script-runner / msr-core / 1aba2c8d-b02f-4ba3-aeab-057d19af3164
100%

Build:
DEFAULT BRANCH: master
Ran 25 Nov 2025 11:45PM UTC
Jobs 1
Files 31
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Nov 2025 11:45PM UTC coverage: 100.0%. Remained the same
1aba2c8d-b02f-4ba3-aeab-057d19af3164

push

circleci

Vova Lavrynovych
#50, #17: Add flexible rollback strategies with optional backup and down() migrations

Implemented four rollback strategies to give users control over migration rollback:
- BACKUP: Traditional backup/restore (default, backward compatible)
- DOWN: Call down() methods in reverse order (no backup needed)
- BOTH: Try down() first, fallback to backup
- NONE: No rollback, log warning only

Key changes:
- Made backup interface optional in IDatabaseMigrationHandler
- Added RollbackStrategy enum to Config
- Migrations can now implement optional down() method for reversible migrations
- Push scripts to executed array BEFORE execution for proper rollback tracking
- Added comprehensive error handling for all rollback scenarios
- Renamed test files to semantic names (optional-backup, rollback-edge-cases)

Breaking change: Service constructors now accept config as separate parameter

Documentation updates:
- Updated all 6 documentation files with rollback strategies
- Added comprehensive down() method guide with examples and best practices
- Updated API reference with RollbackStrategy enum and IRunnableScript.down()
- Added rollback behavior documentation to architecture guide

298 of 298 branches covered (100.0%)

Branch coverage included in aggregate %.

58 of 58 new or added lines in 5 files covered. (100.0%)

576 of 576 relevant lines covered (100.0%)

918.36 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1aba2c8d-b02f-4ba3-aeab-057d19af3164.1 25 Nov 2025 11:45PM UTC 31
100.0
Source Files on build 1aba2c8d-b02f-4ba3-aeab-057d19af3164
  • Tree
  • List 31
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • CircleCI Build #1ABA2C8D...
  • 73729a2b on github
  • Prev Build on master (#0F77C825...)
  • Next Build on master (#6D07EB39...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc