Commit graph

11 commits

Author SHA1 Message Date
Adrian Macneil
e44e09eb67
Migrate CI to GitHub Actions (#171) 2020-11-02 20:22:59 +13:00
Adrian Macneil
b41a73d70c
Ignore db directory (#151) 2020-08-08 11:58:25 -07: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
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
c2fc8b5441
Simplify Makefile and docker usage (#24) 2018-01-22 21:49:12 -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
e393f387b3 Separate cmd package for easier importing (#11) 2017-05-04 20:58:23 -07:00
Adrian Macneil
91ccd2379b Ignore dbmate binary 2017-01-28 00:42:55 -08:00
Adrian Macneil
d5fb983acc Add .dockerignore 2015-12-01 18:31:50 -08:00
Adrian Macneil
d318e68423 Add cross compilation scripts 2015-12-01 18:03:44 -08:00
Adrian Macneil
9cfc758ca1 Initial commit 2015-11-25 10:57:58 -08:00