Commit Graph

24 Commits

Author SHA1 Message Date
8f06b69f5d feat: apply multiply files
Closes #3
2021-04-09 01:09:51 +03:00
07d17c9e93 refac: preparatory work for subsequent changes
Moved the main logic such as running a command or getting a config
into it.

Changed incoming paramenters for commands.
2021-04-08 01:50:51 +03:00
18bf265510 feat: add mysql database supporting 2021-03-26 02:10:41 +03:00
a29c65a9a7 fix: find exists manifest 2021-03-25 00:41:22 +03:00
eb0775e35d refac: restructure database 2021-02-23 18:44:37 +03:00
f4ad03cee0 refac: use join instead path builder 2021-02-22 23:13:50 +03:00
dbc7ddadb7 refac: made the error object simpler 2021-02-22 23:06:08 +03:00
7d631b1d24 fix: future clippy warnings 2021-02-21 17:53:43 +03:00
a7ab5572df refac: add database connection manager
feat: add supported client to manifest
2021-02-18 12:29:13 +03:00
40c0a43dab refac: move commands to separate folder 2021-02-13 00:39:39 +03:00
ba73786a38 feat(cli): add error struct 2021-02-12 01:25:28 +03:00
db631fddd2 refac(cli): move migration struct to another file 2021-02-08 23:42:13 +03:00
edb234d44f feat: add support for custom path
... for config file initialization
2021-02-08 07:28:35 +03:00
032e1b7287 feat: read database url from env variable
Now we can use migra cli without config initialization
2021-02-08 07:01:38 +03:00
64381eb710 feat(cli): implement downgrade migration command 2021-02-06 01:37:30 +03:00
b5c2533bc6 feat(cli): add migrations table
feat(cli): implement upgrade database subcommand
feat(cli): add available migrations to list subcommand
2021-02-06 01:22:00 +03:00
4a9ece8c02 chore(cli): move migrations to separate dir 2021-02-05 01:46:18 +03:00
e8cce2fca5 chore: merge cli with core 2021-02-05 01:37:25 +03:00
9fb8add4b8 feat(cli): implement list command
... that returns list of directory with migration
2021-02-02 23:50:45 +03:00
d175bfa8f0 feat(cli): add config path option 2021-02-02 00:53:33 +03:00
942edd0f8b feat(cli): add recursive migra config search
... in parent directories
2021-02-01 23:51:25 +03:00
a14d67105e feat(cli): add database config 2021-01-31 13:40:02 +03:00
bc3421b150 chore: add simply logging 2021-01-31 03:34:38 +03:00
ac27bfc4dd feat(cli): add toml config
- [x] init migra.toml with serialized default config
	parameters
- [x] read and desirealize config from migra.toml
2021-01-31 03:23:47 +03:00