Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Неудачный откат миграций #38

Open
alexdito opened this issue Feb 17, 2021 · 0 comments
Open

Неудачный откат миграций #38

alexdito opened this issue Feb 17, 2021 · 0 comments

Comments

@alexdito
Copy link

Привет, реализованы ли в модуле транзакции? В случае когда 2 из 3 запроса на изменение данных в бд отработали, а 1 завершился с ошибкой? (В пределах 1 файла миграции) - эта проблема решается запуском транзакций в методе commit(), но в случае если ошибка происходит в момент отката rollback() нет возможности запустить откат повторно т.к. запись о миграции удаляется из таблиц модуля. Есть ли какое то готовое решение на этот счет?

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

No branches or pull requests

1 participant