Archived
1
0
Fork 0
Commit graph

2 commits

Author SHA1 Message Date
c71e8fe33f feat(clients): move clients to separate dir
refac(core): add batch exec trait
refac(core): smarter managers
refac(cli): removed adapter, builder
2021-06-03 00:22:59 +03:00
f98dd4f0c8 feat: single transaction
I added a single transaction option for apply, upgrade, and
downgrade commands, which wraps all migrations into a single
transaction. This gives you the ability to safely roll up
migrations and, if some unforeseen situation occurs, roll them back.

Unfortunately if there is an error in syntax, mysql will not
rollback the migration and commits automatically :( I will
research this issue.

Closes #2
2021-04-24 01:58:19 +03:00