Dale Hui
50d049d5f5
Only use coverage profiles from test runs to create combined coverage profile.
...
- Prevent issue where the combined coverage profile is combined with itself
2018-01-19 18:04:46 -08:00
Daniel Cormier
395391525b
Changed source.Up from untyped to a typed const
...
Changed source.Up from being an untyped string const to being a typed source.Direction const.
2018-01-19 16:24:25 -08:00
Dale Hui
59f3f6d6c2
Increase test timeout from default 10m to 20m since some tests are slow as molasses in January
...
- Example build being killed by Go's test binary: https://travis-ci.org/golang-migrate/migrate/jobs/331027558
2018-01-19 15:42:02 -08:00
Dale Hui
12cc536541
Drop support for Go 1.7
...
- Only the latest 2 major release version is supported. https://golang.org/doc/devel/release.html#policy
2018-01-19 15:36:13 -08:00
Dale Hui
51ec421ad8
Remove debugging print from mysql driver test
2018-01-19 15:13:07 -08:00
Dale Hui
1cf095c51d
Update more references to github.com/mattes/migrate
2018-01-19 14:59:27 -08:00
Dale Hui
7c9a261dc0
Fix MySQL docker image connection testing
2018-01-19 14:50:31 -08:00
Dale Hui
31367fbc97
Add tip about dealing with docker client API version issues
2018-01-19 14:31:56 -08:00
Dale Hui
7159f40304
Update all *DockerContainer receivers to handle nil
...
- Use errors.New() instead of fmt.Errorf() if no formatter string is needed
- Spacing changes due to `go fmt`
2018-01-19 14:22:55 -08:00
Dale Hui
042e307bef
Ignore vendor dir
2018-01-19 10:57:17 -08:00
Dale Hui
f584949470
Update imports to reference fork.
...
Thanks `make rewrite-import-paths`!
2018-01-19 10:56:55 -08:00
Dale Hui
303cd74e5f
Fix Docker install on TravisCi by allowing the docker-ce package to be downgraded
...
- Started happening since TravisCI updated docker-ce https://docs.travis-ci.com/user/build-environment-updates/2017-12-12/
- Can't use v17.09 since the git tag doesn't exist yet
2018-01-19 02:28:41 -08:00
Dale Hui
3b61abf20a
Update some examples and badges in README to reference new fork
2018-01-19 02:07:34 -08:00
Matthias Kadenbach
d23f71b03c
Merge pull request #305 from zikes/master
...
use DELETE FROM to avoid schema changes within transaction
2017-12-08 13:48:26 -08:00
Jason Hutchinson
c156f5f3a1
replace TRUNCATE with DELETE FROM to avoid schema changes within transaction
2017-11-02 16:59:26 -05:00
Matthias Kadenbach
69472d5f5c
Merge pull request #301 from shaneodonnell/master
...
Issue 247: Removed '(always included)'
2017-10-24 11:00:00 -07:00
Shane O'Donnell
4ac3ee9d75
Removed '(always included)'
2017-10-23 13:27:24 -04:00
Matthias Kadenbach
5b98c13eff
Merge pull request #281 from ashoda/support_multiple_statements
...
(Spanner) Add support for multiple statements in one migration step
2017-10-09 11:03:59 -07:00
Ashod Ayanyan
28cb030ffe
Add support for multiple DDL/SQL statements in one migration file
2017-09-18 15:43:46 -07:00
Matthias Kadenbach
be1b075605
add go 1.9 for tests
2017-09-18 14:55:49 -07:00
Matthias Kadenbach
62cddb9e74
Merge pull request #278 from JensRantil/cassandra-auth
...
feat(cassandra): support for user/pw authentication
2017-09-18 10:08:58 -07:00
Matthias Kadenbach
eabba5b316
Merge pull request #277 from JensRantil/cleanup
...
Various `gofmt`ing
2017-09-18 10:08:34 -07:00
Jens Rantil
a5e584ce22
feat(cassandra): support for user/pw authentication
2017-09-17 13:32:00 +02:00
Jens Rantil
d25732a53a
sty: avoid unnecessary parenthesis
...
Golang best-practise. Cleanup made by `gofmt`.
2017-09-17 13:30:08 +02:00
Jens Rantil
701bd68731
style(cassandra): whitespace fixes
...
According to `gofmt`.
2017-09-17 13:26:30 +02:00
Jens Rantil
51acd3f3ad
style: order imports lexicographically
...
Best-practise according to `gofmt`.
2017-09-17 13:26:23 +02:00
Matthias Kadenbach
804f9c2d4f
Merge pull request #273 from maknahar/master
...
Fixed a couple of typos
2017-08-14 14:01:06 -07:00
maknahar
81c0a17f20
Fixed a couple of typos
2017-08-14 17:55:33 +05:30
Matthias Kadenbach
2570d5866d
Merge pull request #272 from twrobel3/bugfix/cockroachTxnSig
...
Update cockroachDB Txn signatures
2017-08-11 17:11:41 -07:00
Taylor Wrobel
2c0f4f588e
Update cockroachDB Txn signatures
...
cockroach-go made a backwards-incompatible change to their transaction
function signatures, which was causing the cockroach instrumentation
to fail.
Updates the signature to match the cockraoch-go change.
2017-08-10 22:56:41 -07:00
Matthias Kadenbach
8b5365e62c
Merge pull request #267 from nicolas33/FAQ-extension
...
Faq extension
2017-07-30 15:05:05 -07:00
Nicolas Sebrecht
d837bcc60c
FAQ: add required extension
...
Github-fix: #265
Signed-off-by: Nicolas Sebrecht <nicolas.sebrecht@1001pneus.fr>
2017-07-28 14:30:10 +02:00
Nicolas Sebrecht
bfe502654c
FAQ: update format from dos to unix
...
Signed-off-by: Nicolas Sebrecht <nicolas.sebrecht@1001pneus.fr>
2017-07-28 14:24:46 +02:00
Matthias Kadenbach
6632d110b6
Merge pull request #264 from twrobel3/feature/migrations-readme
...
Fill out MIGRATIONS.md with migration format and best practice notes
2017-07-25 23:05:42 -07:00
Taylor Wrobel
341c35b1b8
Fill out MIGRATIONS.md with migration format and best practice notes
2017-07-19 00:18:02 -07:00
Matthias Kadenbach
8e6084bc9c
Merge pull request #263 from twrobel3/feature/crdb-readme
...
Add cockroachdb README and add force lock functionality
2017-07-12 08:48:03 -07:00
Taylor Wrobel
40a40613cb
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
Watanabe Masaru
23a2745a3a
fix spanner ensure migration table
2017-07-09 10:57:10 -07:00
Matthias Kadenbach
88c6a0a752
Merge pull request #253 from kshvakov/master
...
Add ClickHouse driver
2017-07-08 10:11:23 -07:00
Kirill Shvakov
1f62e3f142
Merge branch 'master' into master
2017-07-08 13:50:51 +03:00
Kirill Shvakov
8424e946e4
remove deprecated group from Travis file
2017-07-08 13:49:23 +03:00
Matthias Kadenbach
66a0448698
Merge pull request #255 from twrobel3/feature/cockroachdb
...
Add CockroachDB Support
2017-07-08 00:26:12 -07:00
Taylor Wrobel
2cab359222
Remove debugging output from cockroachDB tests
2017-07-07 23:13:55 -07:00
Taylor Wrobel
aebc0c3cdd
Merge port mapping helper functions into one
2017-07-07 23:12:07 -07:00
Taylor Wrobel
c2925c40c7
Add tests for CockroachDB
2017-07-07 23:12:07 -07:00
Taylor Wrobel
88115dedbf
Support running docker with commands and handling multiple exposed ports
...
Adds the ability to specify a series of commands to run as part
of the docker image execution, and allows for retrieving a mapping
of an exposed via the port bound within the container.
2017-07-07 23:12:07 -07:00
Taylor Wrobel
1d8a881941
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
Matthias Kadenbach
8439d7195f
Merge pull request #262 from twrobel3/feature/fixTravisBuild
...
Update docker dependency version to fix Tavis builds
2017-07-07 22:45:46 -07:00
Matthias Kadenbach
f0f8b2c85c
Merge pull request #260 from martin-magakian/patch-1
...
Update README.md
2017-07-03 22:21:55 -07:00
Martin Magakian
35af42a0dd
Update README.md
2017-07-03 15:45:57 +02:00