Commit graph

12 commits

Author SHA1 Message Date
Adrian Macneil
0c758a8d9f
Go v1.16 (#196) 2021-02-22 11:26:35 -08:00
Adrian Macneil
61771e386d
Refactor drivers into separate packages (#179)
`dbmate` package was starting to get a bit polluted. This PR migrates each driver into a separate package, with clean separation between each.

In addition:

* Drivers are now initialized with a URL, avoiding the need to pass `*url.URL` to every method
* Sqlite supports a cleaner syntax for relative paths
* Driver tests now load their test URL from environment variables

Public API of `dbmate` package has not changed (no changes to `main` package).
2020-11-19 15:04:42 +13:00
Adrian Macneil
c2b14bb7e0
v1.11.0 (#174) 2020-11-10 12:38:51 +13:00
Adrian Macneil
d1b3334ff7
Update dependencies (#149) 2020-08-07 18:45:32 -07:00
Adrian Macneil
0775179987
Update to urfave/cli v2 (#148) 2020-08-07 18:09:03 -07:00
Ilia Ablamonov
c2dd1bd5af
Add ClickHouse support (#140) 2020-08-07 13:38:48 -07:00
Viswesh Periyasamy
24705c5d01
adding verbose output for statement execution (#138)
* adding verbose output for statement execution

* fixing lint and redefined v flag

* changing name due to inherited verbose flag and updating README

* linting

* moving verbose flag to subcommand, removing driver verbose, adding tests

* fixing README, cleaning up spacing
2020-06-25 12:26:09 -07:00
Adrian Macneil
de0b51e623
Update dependencies (#134) 2020-05-24 15:55:32 -07:00
Adrian Macneil
d988f526ed
Update dependencies (#91) 2019-09-20 08:00:44 +12:00
Adrian Macneil
8f7c32af47
Update dependencies (#70) 2019-05-19 19:28:01 -07:00
Adrian Macneil
b417f82e64
Update dependencies (#61) 2018-12-01 22:48:27 -08:00
Adrian Macneil
da3d9525cf
Go v1.11 (#60)
* Go v1.11
* [Go Modules](https://github.com/golang/go/wiki/Modules)
* [GolangCI-Lint](https://github.com/golangci/golangci-lint)
* [Distroless](https://github.com/GoogleContainerTools/distroless) docker image
2018-12-01 22:28:47 -08:00