Commit Graph

137 Commits

Author SHA1 Message Date
Dmitriy Pleshevskiy f4539f7877 feat: add command to upgrade command
... which adds the possibility to specify the number of
existing migrations to be updated
2021-02-25 00:56:08 +03:00
Dmitriy Pleshevskiy bd57c75dfc feat: add config to upgrade command
... which adds the possibility to pass a specific migration
name to be updated
2021-02-25 00:47:16 +03:00
Dmitriy Pleshevskiy 8aa57a00bc feat: add config to downgrade command
it's new flag --all that rollbacks all applied migrations
from database.
2021-02-25 00:20:44 +03:00
Dmitriy Pleshevskiy fef34be5ac feat: add number to downgrade command config 2021-02-25 00:03:54 +03:00
Dmitriy Pleshevskiy 413e0040d4 chore: rename github workflow 2021-02-24 00:25:06 +03:00
Dmitriy Pleshevskiy c593bf22dd ci: remove windows and macos from build matrix 2021-02-24 00:21:07 +03:00
Dmitriy Pleshevskiy 09f3f39c87 ci: add checkout to clippy and fmt tasks 2021-02-24 00:14:43 +03:00
Dmitriy Pleshevskiy e4bf75f626 ci: remove components from build 2021-02-24 00:11:19 +03:00
Dmitriy Pleshevskiy fd933a84d3 ci: update github actions
- move clippy and fmt to another thread
- add os to matrix
2021-02-24 00:10:04 +03:00
Dmitriy Pleshevskiy e06d1c0a49 refac: rename variables in migration structure 2021-02-23 18:55:12 +03:00
Dmitriy Pleshevskiy eb0775e35d refac: restructure database 2021-02-23 18:44:37 +03:00
Dmitriy Pleshevskiy d1d09ac912 feat: add command to gen shell completions 2021-02-23 18:16:26 +03:00
Dmitriy Pleshevskiy f4ad03cee0 refac: use join instead path builder 2021-02-22 23:13:50 +03:00
Dmitriy Pleshevskiy dbc7ddadb7 refac: made the error object simpler 2021-02-22 23:06:08 +03:00
Dmitriy Pleshevskiy 6e602b17cd style: change case in sample schema 2021-02-22 16:28:14 +03:00
Dmitriy Pleshevskiy 7dc1477f1f chore: update migration content for sample db 2021-02-22 16:27:27 +03:00
Dmitriy Pleshevskiy aa4ac60016 chore: bump version 2021-02-22 12:23:30 +03:00
Dmitriy Pleshevskiy 756295cdef fix: change install instruction 2021-02-22 12:22:00 +03:00
Dmitriy Pleshevskiy 571f270cbe chore: update version in crates.io badge 2021-02-22 12:17:20 +03:00
Dmitriy Pleshevskiy 2df3c1b911 chore: bump version 2021-02-22 12:06:02 +03:00
Dmitriy Pleshevskiy 22744ab229 chore: remove appendix from apache license 2021-02-22 11:49:47 +03:00
Dmitriy Pleshevskiy 08f260d06a fix: typo in license files 2021-02-22 11:47:56 +03:00
Dmitriy Pleshevskiy e3c3879376 chore: add tests for upgrade command 2021-02-22 00:34:13 +03:00
Dmitriy Pleshevskiy afb1c8a4e3 chore: add test for make command 2021-02-21 23:57:13 +03:00
Dmitriy Pleshevskiy 6b352c31a2 chore: print to stdout in make command
... about successfully created directory with structure for
migration
2021-02-21 23:35:59 +03:00
Dmitriy Pleshevskiy 1d8297cec2 chore: add licences to repo 2021-02-21 23:33:27 +03:00
Dmitriy Pleshevskiy c7338c9206 chore: add information about supported databases
...to readme
2021-02-21 23:19:57 +03:00
Dmitriy Pleshevskiy eda1a05d70 chore: change structure of integration tests 2021-02-21 18:51:10 +03:00
Dmitriy Pleshevskiy e60ed07137 chore: add code of conduct 2021-02-21 18:43:27 +03:00
Dmitriy Pleshevskiy fb86640cbb chore: add badges to readme 2021-02-21 18:22:00 +03:00
Dmitriy Pleshevskiy 7d631b1d24 fix: future clippy warnings 2021-02-21 17:53:43 +03:00
Dmitriy Pleshevskiy 4ed8861279 ci: configure github actions 2021-02-21 17:43:03 +03:00
Dmitriy Pleshevskiy 7a6f39d195 chore: add format on save 2021-02-20 23:13:21 +03:00
Dmitriy Pleshevskiy 5dc240c851 style: format tests 2021-02-20 23:13:08 +03:00
Dmitriy Pleshevskiy 51f631d900 chore: add tests for init command 2021-02-20 23:07:40 +03:00
Dmitriy Pleshevskiy e32a93442f chore: add integration tests for list command 2021-02-20 22:33:14 +03:00
Dmitriy Pleshevskiy a5b3d33bef chore: split tests for...
merge query with params function
2021-02-20 22:31:59 +03:00
Dmitriy Pleshevskiy a4d8218307 fix: applied migration names from query response 2021-02-19 22:37:27 +03:00
Dmitriy Pleshevskiy 7bd4f3d1f9 fix: merge query with params 2021-02-19 22:20:48 +03:00
Dmitriy Pleshevskiy a7ab5572df refac: add database connection manager
feat: add supported client to manifest
2021-02-18 12:29:13 +03:00
Dmitriy Pleshevskiy d4106c50e6 refac: move postgres initialization to separate dir 2021-02-16 18:11:39 +03:00
Dmitriy Pleshevskiy 9679519380 refac: remove unused vars 2021-02-15 23:23:35 +03:00
Dmitriy Pleshevskiy 92c07f4181 refac: remove stmt constants from manager trait 2021-02-15 23:22:13 +03:00
Dmitriy Pleshevskiy 33f392e18e refac: add additional trait for migration names 2021-02-15 13:47:45 +03:00
Dmitriy Pleshevskiy 109c9ce52f refac: add migration manager 2021-02-15 13:06:09 +03:00
Dmitriy Pleshevskiy 1b16aff6e5 refac: rename database connection to postgres 2021-02-14 12:10:12 +03:00
Dmitriy Pleshevskiy 481760ee6e refac: add trait for upgrade and downgrade 2021-02-14 00:03:37 +03:00
Dmitriy Pleshevskiy 429b33f8d7 fix: key in sample and test manifests 2021-02-13 23:47:41 +03:00
Dmitriy Pleshevskiy 1d8993d1f0 refac: rename method
... to open database connection
2021-02-13 23:46:21 +03:00
Dmitriy Pleshevskiy 8f834264d8 refac: add struct for db connection 2021-02-13 23:44:41 +03:00