Sam Whited
7562e9ad5d
source/vfs: add virtual file system source
...
Fixes #56
2018-06-17 19:35:13 -05:00
Dale Hui
dfa9fc05cb
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
87f3e4a910
Build binaries statically
...
Addresses: https://github.com/golang-migrate/migrate/issues/45
2018-06-04 19:27:37 +08:00
Dale Hui
4407720b95
Remove "deps" target from Makefile
2018-05-31 14:57:38 -07:00
Dale Hui
15611d4559
Fix cli builds
...
- Removed sqlite3 support from binaries
- It was never working anyways: https://github.com/mattes/migrate/issues/244
- Don't use cgo as is requires a cross-compiler to build for other platforms
- cgo was originally added for this reason: https://github.com/mattes/migrate/pull/238#issuecomment-306291988
2018-01-20 23:59:36 -08:00
Dale Hui
d542e144dc
Manually fetch github.com/kshvakov/clickhouse
2018-01-20 10:30:57 -08:00
Dale Hui
53606261bf
Make coverage directory configurable
2018-01-19 20:32:15 -08:00
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
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
Kirill Shvakov
1f62e3f142
Merge branch 'master' into master
2017-07-08 13:50:51 +03: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
kshvakov
1440a070c3
Add WithInstance
2017-06-21 17:06:04 +03:00
Matthias Kadenbach
5e049b9fb7
enable cgo
2017-06-14 21:59:11 +02:00
Jolan Malassigne
89879968bb
add cassandra driver and function to retrieve networkSettings to get port bound to 9042
2017-06-05 11:03:49 +01:00
maxvw
386ce008d9
adapted the sqlite driver for v3 ( #165 )
2017-06-05 11:02:51 +01:00
Christian Klotz
748ae8f06a
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
0d9689ab9f
go get update
2017-05-17 19:37:36 -07:00
Matthias Kadenbach
e696a861ba
fix makefile
2017-05-17 19:26:24 -07:00
Matthias Kadenbach
801e84d4d2
fix make deps
2017-05-17 19:21:48 -07:00
Matthias Kadenbach
ff7e060269
remove ql
2017-05-17 19:16:08 -07:00
Matthias Kadenbach
d4d20346f2
build cli with all source and database drivers
2017-05-17 19:10:45 -07:00
Matthias Kadenbach
a6fe4b73b3
update makefile
2017-04-25 11:59:52 -07:00
Matthias Kadenbach
be1ba9204a
add mysql driver, add ENV to docker containers
2017-02-28 15:10:56 -08:00
Matthias Kadenbach
ec5c0ac3e0
fix version string
2017-02-23 10:36:33 -08:00
Matthias Kadenbach
3feee5958a
updated postgres driver, add database.Error struct
2017-02-14 23:12:16 -08:00
Matthias Kadenbach
209c056258
add database lock timeouts in migrate and in tests
2017-02-11 19:15:54 -08:00
Matthias Kadenbach
cd6e62049c
Update documentation
2017-02-11 11:13:27 -08:00
Matthias Kadenbach
03d8d3233f
fix line break in makefile
2017-02-09 12:03:03 -08:00
Matthias Kadenbach
5c6a21b014
add make docs
2017-02-09 11:59:49 -08:00
Matthias Kadenbach
3965df69d5
fix indent in makefile
2017-02-08 20:13:17 -08:00
Matthias Kadenbach
f47436e158
add make release
2017-02-08 19:54:50 -08:00
Matthias Kadenbach
7979fdb832
add list-external-deps
2017-02-08 19:34:53 -08:00
Matthias Kadenbach
e6163082d7
add restore-import-paths and rewrite-import-paths
2017-02-08 18:01:01 -08:00
Matthias Kadenbach
fe1b5c06eb
add go coverage
2017-02-08 16:17:04 -08:00
Matthias Kadenbach
297a4227ef
fixing travis
2017-02-08 01:49:57 -08:00
Matthias Kadenbach
ee384ed8cc
initial version 3.0.0 preview
...
hard work
2017-02-07 22:01:29 -08:00
David Campbell
d290bf9460
- docker command should remain 'go-test'
2016-10-23 15:11:04 -07:00
David Campbell
9a558eed89
Skip tests requiring a DB connection with the '-short' flag
...
- go-test target for local testing
2016-10-23 15:01:12 -07:00
Philippe Lafoucrière
46c831b8e9
Don't trust travis go
2015-10-15 14:18:23 -04:00
Philippe Lafoucrière
ef698d8132
go get all deps deeply
2015-10-15 12:59:31 -04:00
Philippe Lafoucrière
2957444991
Fix test with optionated drivers
2015-10-15 12:49:43 -04:00