Skip to content

test: validate database migration rollbacks - #1878

Merged
sublime247 merged 2 commits into
sublime247:mainfrom
afeezorobsco-cyber:test/database-migration-rollbacks
Aug 28, 2026
Merged

test: validate database migration rollbacks#1878
sublime247 merged 2 commits into
sublime247:mainfrom
afeezorobsco-cyber:test/database-migration-rollbacks

Conversation

@afeezorobsco-cyber

Copy link
Copy Markdown
Contributor

##close #1842

Summary

Adds test coverage validating database migration rollback behavior for the Mobile Money ↔ Stellar Bridge.

Changes

  • Added migration apply/rollback tests.
  • Verified schema changes before and after migrations.
  • Verified rollback restores the expected previous schema.
  • Covered migration ordering and rollback behavior.
  • Covered data preservation/restoration where applicable.
  • Uses an isolated test database/fixture.
  • Added edge-case coverage for rollback behavior supported by the migration framework.

Testing

Covered:

  • migration application
  • migration rollback
  • schema restoration
  • data integrity
  • multiple migration ordering
  • latest-migration rollback
  • re-application after rollback where supported

Validation

[PASTE MIGRATION TEST COMMAND]
[PASTE TEST COMMAND]
[PASTE LINT COMMAND]
[PASTE CLIPPY COMMAND]
[PASTE FORMAT COMMAND]

@drips-wave

drips-wave Bot commented Aug 26, 2026

Copy link
Copy Markdown

@afeezorobsco-cyber Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@afeezorobsco-cyber

afeezorobsco-cyber commented Aug 26, 2026

Copy link
Copy Markdown
Contributor Author

@sublime247 pls review and merge

@sublime247
sublime247 merged commit 699262a into sublime247:main Aug 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Testing] Validate database migration scripts rollbacks

2 participants