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
Dave Jeffrey
0741616d2e
Don't load in all drivers by default #40
...
Requires activating drivers with a _ style import, e.g.
import "_ github.com/mattes/migrate/driver/postgres"
2015-06-11 11:11:28 +01:00
Matthias Kadenbach
9bb037339f
Update README.md
2015-03-08 10:58:38 +01:00
Matthias Kadenbach
7dcd8fe1d7
Merge pull request #36 from cjwirth/sqlite3
...
Add driver for sqlite3
2015-03-08 10:57:11 +01:00
Caesar Wirth
8d39928220
Add driver for sqlite3
2015-03-08 11:29:20 +09:00
Matthias Kadenbach
cd2c561564
Merge pull request #32 from c4milo/patch-1
...
Adds sql-migrate as another alternative
2015-02-09 21:00:56 +01:00
Camilo Aguilar
0c9a8408c7
Adds sql-migrate as another alternative
2015-02-09 14:18:33 -05:00
mattes
e72d592ef5
add dot
2015-02-04 21:49:59 +01:00
mattes
bf81444464
add pateld982 to readme
2015-02-04 21:49:15 +01:00
Matthias Kadenbach
cac6e08b44
Merge pull request #30 from pateld982/master
...
Add authentication support for cassandra
2015-02-04 21:47:02 +01:00
Matthias Kadenbach
f12373eb83
Merge pull request #27 from ngauthier/proper-exit-codes
...
ok flag is misleading, it's really if channel is closed, so return okFlag
2015-02-04 21:40:26 +01:00
Matthias Kadenbach
3502e0252c
Merge pull request #28 from ngauthier/fix-err-handling-typo
...
fix check on err when using err2
2015-02-04 20:40:45 +01:00
Dpatel
ee6a71da4c
Add login support for cassandra
2015-01-27 17:40:46 -05:00
Nick Gauthier
1333184c7b
fix check on err when using err2
2015-01-15 12:44:51 -05:00
Nick Gauthier
ef6572b9aa
ok flag is misleading, it's really if channel is closed, so return okFlag
2015-01-15 12:44:18 -05:00
David Francoeur
820c58b7f2
Merge branch 'master' of github.com:mattes/migrate
2014-12-28 15:38:33 -05:00
David Francoeur
ab520d7b6b
Ensure that os signals are not relayed to the interrupt channel when the
...
function returns
2014-12-28 15:36:46 -05:00
mattes
2cf4b2c33e
rename errorFlag to okFlag to make it even more clearer #22
2014-12-19 12:10:32 -08:00
Matthias Kadenbach
bcba31af11
Merge pull request #23 from ngauthier/return-errors-from-pipes-and-exit
...
return ok bool instead of error bool
2014-12-19 12:06:46 -08:00
Nick Gauthier
f61157f6a6
return ok bool instead of error bool. fixes #22
2014-12-19 08:19:42 -05:00
mattes
48fe666dbe
Update Readme
2014-12-19 02:50:58 -08:00
mattes
05e520bd44
replace bool with errorFlag #22
2014-12-19 02:41:11 -08:00
mattes
3ce2dc92c2
fixing #22
2014-12-19 02:40:11 -08:00
Matthias Kadenbach
6b535262fd
Merge pull request #21 from divoxx/mysql_version_table_issue
...
WIP: Prevents MySQL driver to failing when version table alredy exists
2014-12-05 13:07:42 -08:00
Rodrigo Kochenburger
94efc48c49
Don't stop when a mysql warning happens
2014-12-04 14:33:52 -08:00
Rodrigo Kochenburger
6bce23e36a
Don't consider warnings as errors
2014-12-04 13:59:40 -08:00
Rodrigo Kochenburger
c94461932f
Prevents MySQL driver to failing when version table alredy exists
...
The MySQL driver is using `CREATE TABLE IF NOT EXISTS`, which causes
the MySQL database to raise warnings. The golang driver collects
the warnings and return a composite object (mysql.MySQLWarnings) as
an error that needs to be properly handled.
This change stops the driver from failing in case there are only
warnings.
2014-12-04 13:49:26 -08:00
Matthias Kadenbach
150ce9b524
Merge pull request #20 from balboah/master
...
Cassandra driver tweaks
2014-11-17 12:42:36 -08:00
Johnny Bergström
84ea5f6842
Update Cassandra authors
...
Adding myself :)
2014-11-17 12:56:51 +01:00