Commit Graph

9 Commits

Author SHA1 Message Date
1602069eb5 chore: add transactional ddl 2021-05-23 00:30:43 +03:00
c20f3c3411 fix: supports old sqlite version in downgrade 2021-05-17 10:51:53 +03:00
97178fcb02 feat: add sqlite client 2021-05-17 10:06:33 +03:00
7ae5eec2c3 chore: add support transactional ddl for client
I didn't know that mysql doesn't support transactional ddl.
It means that we cannot create table, alter table and etc. in
transaction. At the moment migra supports only postgres client,
that can be use transaction for ddl.
2021-04-24 22:39:44 +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
18bf265510 feat: add mysql database supporting 2021-03-26 02:10:41 +03:00
e32a93442f chore: add integration tests for list command 2021-02-20 22:33:14 +03:00
429b33f8d7 fix: key in sample and test manifests 2021-02-13 23:47:41 +03:00
20a520b662 feat: tests for list command 2021-02-12 01:25:55 +03:00