Commit graph

16 commits

Author SHA1 Message Date
Adrian Macneil
955c9ac653
Update to MySQL 8.0 image for testing (#250) 2021-12-19 21:28:14 -08:00
Adrian Macneil
f69f1dea03
Build using native OS workers (#231) 2021-12-19 21:08:22 -08:00
Adrian Macneil
4a3698c7ac
Publish Docker image (#220) 2021-07-22 15:19:10 -07: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
e44e09eb67
Migrate CI to GitHub Actions (#171) 2020-11-02 20:22:59 +13:00
Ilia Ablamonov
c2dd1bd5af
Add ClickHouse support (#140) 2020-08-07 13:38:48 -07:00
Adrian Macneil
de0b51e623
Update dependencies (#134) 2020-05-24 15:55:32 -07:00
Adrian Macneil
882c821c1d
Add default docker postgres password (#121)
Add a default user password to fix CI failures caused by [breaking upstream change](https://github.com/docker-library/postgres/pull/658) in `postgres` docker image.

Example error: 631760202
2020-03-01 22:03:31 -08:00
Adrian Macneil
c5afa36962
Replace docker-compose healthchecks with wait command (#37) 2018-04-15 20:34:19 -07:00
Adrian Macneil
df119a76f3
Migrate to dep for dependency management (#26)
* Replace `Godeps` with `dep`
* Upgrade all dependencies
* Remove vendor source from git repository
2018-01-23 17:11:34 -08:00
Adrian Macneil
d855ee1ada
Add dump command (#23)
Adds `dbmate dump` command to write the database schema to a file.

The intent is for this file to be checked in to the codebase, similar to Rails' `schema.rb` (or `structure.sql`) file. This allows developers to share a single file documenting the database schema, and makes it considerably easier to review PRs which add (or change) migrations.

The existing `up`, `migrate`, and `rollback` commands will automatically trigger a schema dump, unless `--no-dump-schema` is passed.

Closes https://github.com/amacneil/dbmate/issues/5
2018-01-22 20:38:40 -08:00
Adrian Macneil
4e01c75eca
Add docker runtime image (#21)
Closes #17
2018-01-07 19:08:43 -08:00
Adrian Macneil
247d7296f8 Add docker-compose healthcheck for test dependencies (#12) 2017-04-23 20:46:27 -07:00
Adrian Macneil
ff85c92b98 Update username 2015-12-03 00:17:37 -08:00
Adrian Macneil
c402613c6c Add MySQL support 2015-12-01 00:44:28 -08:00
Adrian Macneil
9cfc758ca1 Initial commit 2015-11-25 10:57:58 -08:00