Skip to content

feat: add migration safety net (issue #25)#199

Open
luhrhenz wants to merge 1 commit intoSynapse-bridgez:developfrom
luhrhenz:feature/issue-25-migration-safety
Open

feat: add migration safety net (issue #25)#199
luhrhenz wants to merge 1 commit intoSynapse-bridgez:developfrom
luhrhenz:feature/issue-25-migration-safety

Conversation

@luhrhenz
Copy link
Copy Markdown
Contributor

closes #25

  • Add .down.sql rollback files for all 10 existing migrations
  • Add tests/migration_tests.rs with:
    • Convention enforcement: every up-migration must have a down file
    • No orphan down files allowed
    • Down files must be non-empty
    • Full round-trip test via testcontainers Postgres

- Add .down.sql rollback files for all 10 existing migrations
- Add tests/migration_tests.rs with:
  - Convention enforcement: every up-migration must have a down file
  - No orphan down files allowed
  - Down files must be non-empty
  - Full round-trip test via testcontainers Postgres
@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 25, 2026

@luhrhenz 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

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.

1 participant