Commit graph

23 commits

Author SHA1 Message Date
Nikita Konev
079523c25f Add --wait-timeout option (#127)
Closes #127
2020-05-24 19:51:36 -07:00
Adrian Macneil
9d2ec369d8
Add --exit-code and --quiet flags to status command (#124)
Extending the `dbmate status` command with the ability to set an exit code or quiet output, for use in scripts.

Flag names were copied from `git diff` command.
2020-03-15 11:32:48 -07:00
fcarletti
256f92ad19 Add status command (#120)
Add new command to list applied and pending migrations.

Closes #28
Closes #32
Closes #66
Closes #120
2020-03-15 09:43:36 -07:00
Reuben Thomas-Davis
1e45bd774c Add --wait flag (#112)
 When using dbmate as a container, since the base image is distroless, we can't do `dbmate up && dbmate wait`, which makes config a bit more cumbersome (e.g. in kubernetes an extra initContainer).

Closes #111
Closes #112
2020-01-02 18:16:16 +13:00
Adrian Macneil
98066fadaa
Stricter linting (#113) 2020-01-01 19:11:02 -10:00
Shammah Chancellor
2c83de332c Provide a reasonable error message to users (#80)
Currently, when the .env file cannot be parsed, the dbmate application
bombs with no explanation.  This commit prints out the error.
2019-06-13 20:02:29 -07:00
Adrian Macneil
0eabb5dc87
Postgres: Specify public schema for schema_migrations table (#52) 2018-09-03 21:33:19 -07:00
Adrian Macneil
cacf5de3ec
Add wait command (#35) 2018-04-15 18:37:57 -07:00
Adrian Macneil
6ba419a74b
Move cmd to project root for easier installs (#29) 2018-01-24 11:30:08 -08:00
Adrian Macneil
e393f387b3 Separate cmd package for easier importing (#11) 2017-05-04 20:58:23 -07:00
Adrian Macneil
ef4565c176 List vendor includes separately 2017-01-27 23:49:06 -08:00
Adrian Macneil
dec6892128 Update references to urfave/cli 2016-08-15 23:14:13 -07:00
Adrian Macneil
b2ca8aad36 Add alias for new command 2016-08-07 23:25:35 -07:00
Divya Thakur
1fecc07f5c add down as alias for rollback 2016-08-07 23:21:25 -07:00
Adrian Macneil
c0f0a5db8b Update CLI action signatures. Closes #1 2016-08-07 22:40:59 -07:00
Adrian Macneil
62437993cd Fix deprecation warning 2016-05-21 22:33:42 -07:00
Adrian Macneil
3b448c3ad1 Add version 2015-12-01 18:17:38 -08:00
Adrian Macneil
c6aba53e51 Add errcheck and fix unchecked errors 2015-11-27 14:27:44 -08:00
Adrian Macneil
164ec81370 Add Up command to create database and migrate 2015-11-27 10:34:46 -08:00
Adrian Macneil
1c4cf2c122 Implement rollback command 2015-11-25 12:26:57 -08:00
Adrian Macneil
ece5d3cf0e Allow database URL to be specified via command line 2015-11-25 11:32:13 -08:00
Adrian Macneil
99a4f266e6 Rename up command to migrate 2015-11-25 11:04:00 -08:00
Adrian Macneil
9cfc758ca1 Initial commit 2015-11-25 10:57:58 -08:00