Commit graph

6 commits

Author SHA1 Message Date
Adrian Macneil
c99d611cb4
Upgrade golangci-lint to v1.43.0 (#251) 2021-12-20 10:29:33 -08:00
Adrian Macneil
f69f1dea03
Build using native OS workers (#231) 2021-12-19 21:08:22 -08:00
Matthew Wraith
81fe01b34f
Postgres defaults to unix socket (#230) 2021-12-17 16:44:14 -08:00
Matt Snider
08022422d4
mysql: Fix escaping of '+' character in passwords (#200)
Fixes #199
2021-03-09 07:46:36 +00:00
Bouke van der Bijl
2bac2c7590
Write log lines to DB.Log output (#195)
This makes it possible to redirect the logs somewhere else, useful if you embed dbmate into your application.
2021-02-18 14:10:57 -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