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
Martin Magakian
56a56527c6
Update README.md
...
Late edit I promise...
2017-07-03 15:45:41 +02:00
Martin Magakian
1485e567f1
Update README.md
...
Some format :-p
2017-07-03 15:35:43 +02:00
Martin Magakian
180c57747d
Update README.md
...
Forget package
2017-07-03 15:34:43 +02:00
Martin Magakian
2361a7aa24
Update README.md
...
Code snippet don't compile.
It's missing a step (see https://github.com/mattes/migrate/blob/master/source/go-bindata/go-bindata_test.go )
2017-07-03 15:29:15 +02:00
Taylor Wrobel
4f9422ec85
Update docker dependency version to fix Tavis builds
...
Tavis has updated its docker images, and as part of the update,
no longer includes support for the (deprevated) docker-engine
package, moving instead to docker-ce.
See https://blog.travis-ci.com/2017-06-21-trusty-updates-2017-Q2-launch
for details of the package change.
This updates the travis configuration to pin the docker library
version to 17.05.0 and installs the corresponding version of
docker-ce in the install script.
2017-06-24 10:37:08 -07:00
Matthias Kadenbach
da4160ce04
Merge pull request #251 from christianklotz/spanner-driver
...
Add Spanner driver
2017-06-20 21:52:00 -07:00
Christian Klotz
eccc3a26d2
Skip test if SPANNER_DATABASE isn’t set
2017-06-20 17:53:41 +01:00
Christian Klotz
51afcccb6b
Merge branch 'master' into spanner-driver
2017-06-14 21:02:59 +01:00
Stephanie Ng
8f7d3efb1a
add create command to cli
2017-06-14 21:59:11 +02:00
Ben
13a818e3b5
Fix typo forgotton => forgotten
2017-06-14 21:59:11 +02:00
Matthias Kadenbach
5e049b9fb7
enable cgo
2017-06-14 21:59:11 +02:00
maxvw
33d5038bd3
adapted the sqlite driver for v3 ( #165 )
2017-06-14 21:58:37 +02:00
Fuyuan Bie
39bb76224d
Fix parenthesis problem.
2017-06-14 21:57:37 +02:00
Fuyuan Bie
9632882b69
Use both db name and migration table name for lock hash
2017-06-14 21:57:37 +02:00
Christian Klotz
803598293e
Add basic Google Spanner test
2017-06-14 19:46:10 +02:00
Matthias Kadenbach
50068870a1
Merge pull request #249 from recurza/master
...
Add create command to CLI
2017-06-10 10:25:06 -07:00
Stephanie Ng
9a19439e31
add create command to cli
2017-06-10 20:20:35 +08:00
Matthias Kadenbach
d8dd1bc427
Merge pull request #248 from biefy/master
...
Solve lock contention problem when upgrading multiple logical MySQL databases backed by a single physical database.
2017-06-09 17:08:54 -07:00
Matthias Kadenbach
c1134be427
Merge pull request #242 from benmoss/master
...
Fix typo forgotton => forgotten
2017-06-05 13:11:58 -07:00
Matthias Kadenbach
2aab3394cf
Merge pull request #243 from mattes/mattes-patch-1
...
enable cgo
2017-06-05 13:11:27 -07:00
Ben
39a5a37822
Fix typo forgotton => forgotten
2017-06-05 12:14:10 -04: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
Pavlina Drosos
6ecd671cfc
Add code sample for use with existing MySQL client with multistatements=true
2017-06-05 11:02:51 +01:00
Max
2f50c9c52b
added file cli/build_sqlite3.go
2017-06-05 11:02:51 +01:00
maxvw
386ce008d9
adapted the sqlite driver for v3 ( #165 )
2017-06-05 11:02:51 +01:00
Christian Klotz
3d6c78875f
Add example migrations
2017-06-05 10:50:14 +01:00
Matthias Kadenbach
a9bcd83ff0
enable cgo
2017-06-05 00:59:53 -07:00
Matthias Kadenbach
bf3f0f133e
Merge pull request #240 from tinysquare/master
...
Add cassandra driver
2017-06-04 21:27:48 -07:00
Matthias Kadenbach
2aa16f5f66
Merge branch 'master' into master
2017-06-04 21:27:38 -07:00
Matthias Kadenbach
63f788f07e
Merge pull request #239 from pdrosos/update-mysql-documentation-for-use-with-existing-db-client
...
Add documentation for use with existing MySQL client with multiStatements=true
2017-06-04 21:23:57 -07:00
Matthias Kadenbach
c3d61852ee
Merge pull request #238 from maxvw/v3-sqlite
...
adapted the sqlite driver for v3 (#165 )
2017-06-04 21:21:55 -07:00
Christian Klotz
2742b9c467
Provide WithInstance method
...
Also includes some refactor around package naming, treats own repo as first-class and uses alternative package names for third party imports, Google spanner libraries in this case.
2017-06-04 21:53:33 +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
Jolan Malassigne
28524d977c
add cassandra driver and function to retrieve networkSettings to get port bound to 9042
2017-05-31 10:05:56 +02:00
Pavlina Drosos
b5c2f0f2bb
Add code sample for use with existing MySQL client with multistatements=true
2017-05-30 18:52:26 +03:00
Max
decee4abb2
added file cli/build_sqlite3.go
2017-05-30 14:06:59 +02:00
maxvw
8b4ce58a1d
adapted the sqlite driver for v3 ( #165 )
2017-05-27 08:58:01 +02:00
Matthias Kadenbach
3682bcf9d2
Update README.md
2017-05-18 19:47:23 -07:00
Matthias Kadenbach
857dc4b862
Update README.md
2017-05-18 19:45:53 -07:00
Matthias Kadenbach
247ca90b33
Merge pull request #234 from augustzf/master
...
Add command to make CLI example with Go toolchain work
2017-05-18 10:29:15 -07:00
Matthias Kadenbach
00b22e527d
one line
2017-05-18 10:28:39 -07:00
August Z. Flatby
83035ec925
Add command to make CLI example with Go toolchain work
2017-05-18 09:27:39 +02:00
Matthias Kadenbach
035c07716c
Merge pull request #231 from mattes/cli-updates
...
build cli with all source and database drivers
2017-05-17 19:37:49 -07: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