Dale Hui
1a55d8a165
Clean up CLI docs
...
- Move main CLI docs from cli to cmd/migrate
- Clean up markdown
- Update example CLI usage in Docker
2019-06-13 01:30:58 -07:00
Eduard Bardají Puig and GitHub
50fe732ef0
Typo
2019-05-22 20:25:18 +01:00
Evan Conrad and GitHub
0187525770
Fix Broken Markdown in cli/README.md
2019-05-16 11:30:01 -07:00
Dale Hui and GitHub
9914e83a88
Add guide for installing a specific version of migrate using the Go toolchain
2018-11-28 01:00:46 -08:00
Dale Hui and GitHub
d9689c3023
Fix CLI install with Go toolchain docs
...
`-d` option shouldn't be specified with `go get` when installing
2018-11-28 00:44:59 -08:00
Dale Hui
97e5bec00a
.deb package changes
...
- Install binary to /usr/local/bin instead of /usr/bin
- Support recent/stable Debian and Ubuntu distros that work with .deb packages
2018-11-27 13:48:57 -08:00
Viacheslav Poturaev
a2cbe590d2
Copy cli main package under migrate directory, keep deprecated original main package for backwards compatibility, fixes #70
2018-11-21 09:01:35 +01:00
Dale Hui
7b3bd300bc
Use git describe --tags to set the version number when building the CLI
2018-11-12 02:23:08 -08:00
Dale Hui and GitHub
64f07f7455
Merge pull request #124 from lopezator/master
...
cli: Update README.md with MacOS install info
2018-10-29 11:02:56 -07:00
Dale Hui
2818676b00
Remove references to dep from docs
2018-10-29 10:56:55 -07:00
David López
eac7bacdad
cli: Update README.md with MacOS install info
...
Document in MacOS install section of README.md that brew packag is now available. References mattes/migrate#156 https://github.com/Homebrew/homebrew-core/pull/30032
2018-10-29 17:27:48 +01:00
Dale Hui
e2a6017efd
Use v4 for Go module support
2018-10-10 16:16:23 -07:00
Dale Hui
2b1b184f7f
Revert "Remove support for Go modules"
...
This reverts commit 781565f251 .
2018-10-10 16:15:33 -07:00
Dale Hui
781565f251
Remove support for Go modules
2018-10-10 13:34:03 -07:00
Dale Hui
898723524b
Fix module support by opting in to modules
2018-09-14 01:14:42 -07:00
Harald Nordgren
a632c3dbab
Document that '-source' is a required parameter
2018-08-07 09:53:36 +02:00
Dale Hui
29ce6f5299
Update CLI installation docs to reduce confusion
...
https://github.com/golang-migrate/migrate/issues/64#issuecomment-402300146
2018-07-05 10:55:44 -07:00
Dale Hui
6c6be90e29
Update docs
...
- Addresses: https://github.com/golang-migrate/migrate/issues/67
- Add badge for supported Go versions
- Suggest dep for dependency management
2018-06-27 11:45:54 -07:00
dadlerj
8fab4d62f5
Update CLI usage in readme
2018-06-26 09:16:04 -07:00
Dale Hui
f5b1f04771
Fix time format flag to be backwards compatible
...
https://github.com/golang-migrate/migrate/pull/17#issuecomment-397960867
2018-06-18 00:06:17 -07:00
Dale Hui
902f1a5eb9
Make -ext flag required for the create command
2018-06-17 23:18:23 -07:00
Dale Hui
848920298f
Fix broken CLI build
2018-06-17 23:16:38 -07:00
Sam Whited
cef75de6d2
source/vfs: add virtual file system source
...
Fixes #56
2018-06-17 19:35:13 -05:00
Dale Hui
72e2144942
Rename sources to reflect updated build constraint names
2018-06-12 16:45:56 +08:00
Dale Hui
084f0467bd
Use correct build contraints (must be alphanumeric)
...
Fixes: https://github.com/golang-migrate/migrate/issues/52
2018-06-12 16:18:27 +08:00
Dale Hui
2256ce88d5
List source and database drivers in help text
2018-06-12 16:17:52 +08:00
Dale Hui
8cb354d229
Cleanup CLI docs
2018-05-12 15:25:19 -07:00
Taylor Halliday and GitHub
58877d6d88
Update README.md
...
There's no homebrew support. Even the referenced TODO says so, so not sure why it's in the Readme. Let's encourage others to support the development of it rather than think the support for it is broken.
2018-05-12 07:22:21 -07:00
Robert Haupt
d4428d5af1
Removed commented code
2018-04-17 11:17:10 -06:00
Robert Haupt
d75d6c1b41
Use Go time format string if version other than timestamp is desired.
2018-04-17 11:09:08 -06:00
Robert Haupt
c32a2fb09b
Added -datetime option to create up/down files with version in yyyymmddhhmmss format.
2018-04-16 11:12:06 -06:00
Dale Hui
0aa85e8aa2
Fork packagecloud releases
2018-01-20 02:10:22 -08:00
Dale Hui
670f4aef79
Support creating migrations using sequences in addition to timestamps
2018-01-20 00:29:06 -08:00
Dale Hui
f855332b76
Update more references to github.com/mattes/migrate
2018-01-19 14:59:27 -08:00
Dale Hui
75bf87f76c
Update imports to reference fork.
...
Thanks `make rewrite-import-paths`!
2018-01-19 10:56:55 -08:00
Jens Rantil
45e1cf1b34
style: order imports lexicographically
...
Best-practise according to `gofmt`.
2017-09-17 13:26:23 +02:00
Taylor Wrobel
3a7d17665d
Add cockroachdb README and add ForceLock functionality
...
Adds a readme to the cockroachdb database package, following the
postgres readme style.
Also adds the ability to force acquisition of the migration lock
via a connect URL parameter/WithInstance config, to allow for fixing
cases where an implementation error causes the schema lock to not
be released.
Lastly, tweaks the CLI readme to include information on building a
CLI for databases other than postgres.
2017-07-11 21:52:02 -07:00
Kirill Shvakov and GitHub
fd6c361889
Merge branch 'master' into master
2017-07-08 13:50:51 +03:00
Taylor Wrobel
14eb1a8087
Add CockroachDB Support
...
Adds support for CockroachDB. Cockroach uses the postges wire
protocol and has a large amount of common SQL functionality shared
with Postgres, so much of the postgres code was able to be copied
and modified.
Since the protocol is used in determining the driver, and the
Postgres protocol is also used by Cockroach, new connect string
prefixes were added: cockroach:// cockroachdb:// and
crdb-postgres://. These fake protocol strings are replaced in
the connect function with the correct `postgres://` protocol.
TODO: Tests needed (Cockroach has a docker image, so this shouldn't
be too hard)
2017-07-07 23:12:07 -07:00
kshvakov
59477052d2
change include path from github.com/kshvakov to github.com/mattes
2017-06-21 17:24:55 +03:00
kshvakov
1d48dba072
Add WithInstance
2017-06-21 17:12:05 +03:00
kshvakov
f8a7207da6
Add WithInstance
2017-06-21 17:06:04 +03:00
kshvakov
0bd1ec9b16
Add ClickHouse driver
2017-06-21 15:58:46 +03:00
Stephanie Ng and Christian Klotz
a66c8ccc45
add create command to cli
2017-06-14 21:59:11 +02:00
Jolan Malassigne and Christian Klotz
8499e0819b
add cassandra driver and function to retrieve networkSettings to get port bound to 9042
2017-06-05 11:03:49 +01:00
Max and Christian Klotz
80a94f75b6
added file cli/build_sqlite3.go
2017-06-05 11:02:51 +01:00
Christian Klotz
6458eee5da
Add Spanner driver
...
Support for Google Cloud Spanner, closes #172 . Includes example migrations ported over from the PostgreSQL driver.
In all examples provided by Google I’ve come across, camel-case is used for table names, columns, etc. Hence the examples use this naming convention.
2017-06-04 21:13:49 +01:00
Matthias Kadenbach and GitHub
61f6ae6380
one line
2017-05-18 10:28:39 -07:00
August Z. Flatby
b8e66740ac
Add command to make CLI example with Go toolchain work
2017-05-18 09:27:39 +02:00
Matthias Kadenbach
8aa0177ad2
build cli with all source and database drivers
2017-05-17 19:10:45 -07:00