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

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

Build:
DEFAULT BRANCH: master
Ran 25 Nov 2025 11:45PM UTC
Files 31
Run time 2s
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.1

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 %.

576 of 576 relevant lines covered (100.0%)

918.36 hits per line

Source Files on job 1aba2c8d-b02f-4ba3-aeab-057d19af3164.1
  • 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 Build 1
  • 73729a2b on github
  • Prev Job for on master (#0f77c825-49cc-4295-bac5-acf672508335.1)
  • Next Job for on master (#6d07eb39-49dd-4778-831b-dae92b0a808b.1)
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