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
Christian Klotz
eccc3a26d2
Skip test if SPANNER_DATABASE isn’t set
2017-06-20 17:53:41 +01:00
Ben
13a818e3b5
Fix typo forgotton => forgotten
2017-06-14 21:59:11 +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
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
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
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
Matthias Kadenbach
fb8698d89a
Merge pull request #223 from Menta2L/master
...
ql database support
2017-05-16 13:09:22 -07:00
vesco
2821341551
make ExecuteQuery private
2017-05-16 12:07:40 +03:00
root
4e5dc68b4e
ql support
2017-05-12 11:11:16 +03:00
Jonathan Bryant
91ecd3cb6a
Added support for Redshift.
...
* Added driver that wraps the standard PostgreSQL driver
* Added build.
* Added driver to documentation.
2017-05-11 15:47:40 -06:00
Julius Kriukas
14f784961f
Fix appending multiStatements=true parameter for mysql driver
2017-04-25 22:54:16 +03:00
Matthias Kadenbach
256e8f045b
Update README.md
2017-04-25 11:13:59 -07:00
Matthias Kadenbach
2e54bda0e1
Update README.md
2017-04-25 11:06:06 -07:00
Matthias Kadenbach
365b0565de
Update README.md
2017-04-21 13:07:46 -07:00
Matthias Kadenbach
65d785d560
Update README.md
2017-04-21 13:02:10 -07:00
Matthias Kadenbach
fff688c019
Create README.md
2017-04-21 13:00:19 -07:00
Arkadiusz Bokowy
bc93ed027f
Support for alternative postgres URI scheme
...
According to the PostgreSQL documentation (section 32.1.1.2), postgres
library supports two URI schemes: postgresql:// and postgres://
Reference:
https://www.postgresql.org/docs/current/static/libpq-connect.html#LIBPQ-CONNSTRING
2017-04-04 08:29:33 +02:00
Matthias Kadenbach
1f37f41ee8
remove cleanpath, fix mysql ensureVersionTable
2017-03-01 11:48:38 -08:00
Matthias Kadenbach
150ac7d708
add mysql custom TLS config
...
closes https://github.com/mattes/migrate/pull/117
2017-02-28 16:23:29 -08:00
Matthias Kadenbach
be1ba9204a
add mysql driver, add ENV to docker containers
2017-02-28 15:10:56 -08:00
Matthias Kadenbach
eb02bc77fb
allow to force NilVersion
2017-02-19 16:06:11 -08:00
Matthias Kadenbach
53b55288b3
bring back dirty state from v2
2017-02-19 15:15:00 -08:00
Matthias Kadenbach
d574676702
drop custom query params
2017-02-17 16:59:47 -08:00
Matthias Kadenbach
f45821581c
add multi statement test
2017-02-16 22:10:01 -08:00
Matthias Kadenbach
2031939bfc
allow postgres migrations_table config
2017-02-16 11:06:11 -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
b6bd4fe02d
add comments for source
2017-02-09 19:42:48 -08:00
Matthias Kadenbach
2da976155a
add comments for database
2017-02-09 19:04:54 -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