Skip to content

fix: ensure transaction rollback on migration failure - #8

Open
Kasuki354 wants to merge 1 commit into
zamariyahg:mainfrom
Kasuki354:fix/migration-rollback
Open

fix: ensure transaction rollback on migration failure#8
Kasuki354 wants to merge 1 commit into
zamariyahg:mainfrom
Kasuki354:fix/migration-rollback

Conversation

@Kasuki354

Copy link
Copy Markdown

Wraps migrations in transactions with deferred rollback. On failure, rolls back to prevent dirty state.

/claim #1

…y state

Wraps each migration in a database transaction with deferred rollback.
On failure, the transaction is rolled back to prevent partially applied
migrations from leaving the database in a dirty state.

Resolves zamariyahg#1
@opirebot

opirebot Bot commented Aug 7, 2026

Copy link
Copy Markdown

😅 Unfortunately there are no rewards left to claim in this issue!

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