Oliver Kofoed
9e11d704a4
Add support for ScyllaDB (remove cql counter use)
2016-12-18 19:25:52 -08:00
David Campbell
d290bf9460
- docker command should remain 'go-test'
2016-10-23 15:11:04 -07:00
David Campbell
04e1cb0cfc
Bump travis versions to use Go 1.6 and 1.7
2016-10-23 15:05:54 -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
Triet Pham
74b161fdb2
Add Cassandra url format
2016-08-31 10:20:16 +07:00
dimag
32cb825110
specifying version of mongo
2016-08-10 21:33:36 +03:00
dimag
9bd4c8c83c
Checking non-exported migration method
2016-08-10 21:25:36 +03:00
dimag
e9ede5506a
Added README.md
2016-08-10 20:39:41 +03:00
dimag
e27b9c2a7b
- Refactored project structure to be consistent with original project
...
- Added docker support
2016-08-10 17:15:17 +03:00
dimag
834a096bf8
Added explicit migration method signature validation
2016-08-10 14:13:53 +03:00
dimag
866ff82ffe
- registering method receiver directly for the driver
...
- currently each driver contains only a single method receiver:
- enforcing method receiver pre-registration on go methods driver initialization
- Method receiver name can be removed from files format
- passing the DbName parameter inside the method receiver for the go methods driver
2016-08-09 21:16:21 +03:00
dimag
570e4b42be
- redefined mongo db driver to be autonomous and not depending on specific methods
...
- defined methods receivers registration by name and change the migration files format to include them
- added extensive testing
2016-08-09 16:47:34 +03:00
dimag
c71fea90d6
Relaxed constratint that method receiver has to be of Driver interface.
2016-08-08 21:34:52 +03:00
dimag
5f7b2caee8
- Reset all changes to the upstream branch
...
- Changed logic not to use custom filename parser:
-Supporting up and down files only, no both direction files
-Using method names as is
- Added complete test to the mongo db migration scenarios
2016-08-08 21:07:37 +03:00
dimag
64101a13e9
Changes that interfere with the Migrate open source code:
...
- Added go methods migrator, mongo db template: different from the usual driver
model.
- Added support for bidirectional files (for go methods), appending _up or _down upon context
- Added DriverWithFilnameParser for providing custom filename parser functionality that knows to parse bi-directional file names.
2016-08-08 16:29:25 +03:00
dimag
8630ea78b7
changed import paths to point to dimag-jfrog
2016-08-04 15:52:31 +03:00
Sandile Keswa
aa4dc1252b
Oops! Correcting a renaming error.
2016-07-25 13:25:45 -04:00
Sandile Keswa
0cd470ee98
Adopted @nlacey's suggestion.
2016-07-25 12:02:50 -04:00
Sandile Keswa
cba0cc9847
fixed the overflow
2016-07-23 15:04:11 -04:00
Sandile Keswa
42b45a6de8
added consistency as an option
2016-07-23 14:47:11 -04:00
Till Klocke
cd5f75d47c
Splitting of sql is now more robust and better tested
2016-06-16 14:34:50 +02:00
Till Klocke
6612806e06
Crate driver was using wrong url scheme. The migrate CLI never had a chance to select the correct driver
2016-06-16 13:47:21 +02:00
Till Klocke
a7fa9eb3fb
Added README.md for Crate driver
2016-06-16 13:08:04 +02:00
Till Klocke
907d8cd935
Added driver for crate.io database
2016-06-16 13:03:01 +02:00
Chris Gilling
b5ef068704
cassandra: add error checking for bad connection urls
2016-06-12 14:59:23 -07:00
Brendan Fosberry
b68c58c136
Fixing unsafe typecast
...
If a non pq error is returned, we rollback and return the error
2016-06-03 13:41:05 -05:00
meehow
f230ced201
typo fixed
2016-05-15 08:12:06 +02:00
Jeff Hodges
91a3364232
use a non-zero exit code when no command is given
2016-04-08 14:26:39 -07:00
Matthias Kadenbach
ce1b59bb81
Merge pull request #89 from arbarlow/master
...
Add support for Cassandra >= 3 with protocol version 4
2016-03-21 14:09:30 -07:00
Alex Barlow
12c19e08b7
Add support for Cassandra >= 3 with protocol version 4
2016-03-21 17:36:03 +00:00
Michael Morin
7f9f7e5978
Release OS signals when you're finished with them.
2016-02-11 22:35:49 -05:00
Chris McNabb
90bab2409b
gocql doesn't support cassandra > 2.2
2016-02-01 12:01:09 -08:00
Chris McNabb
10d89631a3
https://github.com/mattn/go-sqlite3 is cgo, so CGO_ENABLED must be true
2016-02-01 12:01:09 -08:00
Matthias Kadenbach
5593c9892b
Merge pull request #78 from raizyr/sqlite3_is_cgo
...
https://github.com/mattn/go-sqlite3 is cgo, so CGO_ENABLED must be true
2016-01-11 23:38:19 -08:00
Matthias Kadenbach
081a4e2cae
Merge pull request #79 from raizyr/cassandra_2_2
...
gocql doesn't support cassandra > 2.2
2016-01-11 23:25:52 -08:00
Chris McNabb
5a8219c970
gocql doesn't support cassandra > 2.2
2016-01-10 21:39:37 -06:00
Chris McNabb
5a245a959a
https://github.com/mattn/go-sqlite3 is cgo, so CGO_ENABLED must be true
2016-01-10 08:09:34 -06:00
David Campbell
9694775972
prefix migration files with epoch
...
Using epoch prefixed filenames, multiple developers can commit
migrations while minimizing versioning conflicts.
This commit remains backwards compatible with all previous migrations
and requires no changes to the `schema_migrations` table.
This commit also cleans up migrate-test temp directories
2015-12-20 16:18:25 -08:00
Carlos Forero
e303d64469
Add driver for Neo4j
2015-12-08 19:39:22 -05:00
Matthias Kadenbach
6028882529
Merge pull request #66 from jamiecuthill/patch-1
...
Error in example mysql driver import statement
2015-12-04 09:50:58 -08:00
Jamie Cuthill
2f6745a42f
Error in example mysql driver import statement
2015-11-13 11:57:52 +00:00
Matthias Kadenbach
8fe1a56731
Merge pull request #65 from brainly/import-drivers-in-cli
...
Import drivers in CLI
2015-11-12 14:39:06 -08:00
Oleksii Fedorov
f5053fbe29
Import drivers in CLI
2015-11-12 11:38:53 +01:00
Matthias Kadenbach
2a2bc4fec8
Merge pull request #54 from gemnasium/dont-load-all-drivers-43
...
Don't load all drivers
2015-11-11 10:04:20 -08:00
Brant Fitzsimmons
ade683e8b5
Fixes typos.
2015-11-01 13:14:23 -05:00
Philippe Lafoucrière
65674ac4cc
Dropping support for go 1.3
2015-10-22 19:29:14 -04:00
Philippe Lafoucrière
9754378aa5
Move the registry to driver package
...
We can't test driver.New methods because of circular imports.
That's probably why the initial code had a map[string]interface{} as
registry: it removes a dependency import.
I prefer the remove the registry and have a registry returning a real
Driver. It will ease the development later.
2015-10-22 16:29:26 -04:00
Philippe Lafoucrière
080f49baf4
Fix error message
2015-10-18 22:30:51 -04:00
Philippe Lafoucrière
3bc76ee0bb
remove leftover
...
[skipci]
2015-10-15 14:19:14 -04:00
Philippe Lafoucrière
46c831b8e9
Don't trust travis go
2015-10-15 14:18:23 -04:00