173 Commits

Author SHA1 Message Date
Matthias Kadenbach
b94dd6fc29 Merge pull request #96 from meehow/patch-1
typo fixed
2016-12-21 20:32:19 -08:00
Matthias Kadenbach
7910a55d0e Merge pull request #103 from cgilling/better_cassandra_uri_errors
cassandra: add error checking for bad connection urls
2016-12-21 20:30:43 -08:00
Matthias Kadenbach
ae018f8ade Merge pull request #119 from trietphm/master
Add Cassandra url format example
2016-12-21 20:27:54 -08:00
Matthias Kadenbach
33aebee975 Merge pull request #129 from mattes/mattes-docs-1
Update README.md
2016-12-21 20:14:05 -08:00
Matthias Kadenbach
478fb42df5 Update README.md 2016-12-21 20:13:57 -08:00
Matthias Kadenbach
9c7172291e Merge pull request #114 from skeswa/feature/consistency-in-conn-str
Added consistency parameter to cassandra connection string
2016-12-21 20:01:06 -08:00
Triet Pham
74b161fdb2 Add Cassandra url format 2016-08-31 10:20:16 +07: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
Chris Gilling
b5ef068704 cassandra: add error checking for bad connection urls 2016-06-12 14:59:23 -07:00
meehow
f230ced201 typo fixed 2016-05-15 08:12:06 +02:00
Matthias Kadenbach
ce1b59bb81 Merge pull request #89 from arbarlow/master
Add support for Cassandra >= 3 with protocol version 4
v1.3.0
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
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
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
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
Philippe Lafoucrière
a35e2a3c7a Don't use -cover for now, it's not working 2015-10-15 13:48:04 -04:00
Philippe Lafoucrière
8ae2c91ef4 Fix travis 2015-10-15 13:43:48 -04:00
Philippe Lafoucrière
b4e84ac8f9 Use go version defined in the travis.yml matrix 2015-10-15 13:34:52 -04:00
Philippe Lafoucrière
ef698d8132 go get all deps deeply 2015-10-15 12:59:31 -04:00
Philippe Lafoucrière
5cf4286653 fix yaml in travis.yml 2015-10-15 12:53:53 -04:00
Philippe Lafoucrière
2957444991 Fix test with optionated drivers 2015-10-15 12:49:43 -04:00
Philippe Lafoucrière
0c7f7b79e0 Merge branch 'master' of https://github.com/mattes/migrate into dont-load-all-drivers-43 2015-10-14 20:35:35 -04:00
Matthias Kadenbach
e351ab27b9 Merge pull request #51 from raphaeljlps/master
Fixes migrate --help command
2015-10-01 10:26:19 -07:00
Raphael Jardim Lopes
432a0b56d5 fixes issue #3 2015-10-01 10:41:04 -03:00
Matthias Kadenbach
531fdf64e5 Merge pull request #50 from buddhamagnet/streamline-driver-code
Streamline driver code
2015-09-24 10:33:18 -07:00
buddhamagnet
7a0e24ebf3 add tests for driver registration 2015-09-15 23:08:29 +01:00
buddhamagnet
0f9ca3b392 exclude test sqlite3 db 2015-09-15 23:08:11 +01:00
buddhamagnet
02c5fc24d3 streamline driver code 2015-09-15 22:56:29 +01:00
Matthias Kadenbach
e857fcc785 Merge pull request #48 from johnweldon/45-migration-file-id-clash
Proposed fix for migration file name clashes
2015-09-15 11:24:00 -07:00
John Weldon
07fedf8445 Add some docstring explanation to makeFiles 2015-09-14 16:41:19 -07:00
Matthias Kadenbach
c848ca946e Merge pull request #49 from johnweldon/remove-go1.2-dependency
Fix travis build file to match reality
2015-09-14 10:18:21 -07:00
John Weldon
879cc40d38 Fix travis build file to match reality
This project depends on github.com/gocql/gocql, which does not support
go 1.2.

Update the .travis.yml file to match that reality.

Add go 1.4 and 1.5 to the test matrix.
2015-09-11 18:30:08 -07:00
John Weldon
ca48601396 Proposed fix for #45
This is the bare minimum proposed fix for #45

By using a nested map the way I do in this PR we could also simplify the
logic further down where we look for matching direction.Up or
direction.Down migrations.
2015-09-05 17:48:33 -07:00
John Weldon
c7bacb831b Test to demonstrate issue #45
Added a unit test to demonstrate the problem in issue #45

The introduced makeFiles() function could be used to simplify the other
tests too, but I didn't touch more than necessary for this commit.
2015-09-05 17:46:58 -07:00
Matthias Kadenbach
68a658aff4 Merge pull request #44 from faxal/master
Get default URL from environment variable MIGRATE_URL
2015-06-24 10:09:51 -07:00
fazal
d8df2cd1cc Get default URL from environment variable MIGRATE_URL 2015-06-17 13:07:18 +05:00