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
2957444991
Fix test with optionated drivers
2015-10-15 12:49:43 -04: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
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
Dpatel
ee6a71da4c
Add login support for cassandra
2015-01-27 17:40:46 -05:00
Johnny Bergström
84ea5f6842
Update Cassandra authors
...
Adding myself :)
2014-11-17 12:56:51 +01:00
Johnny Bergström
5f1ca5dadc
Multiple statements per migration file
...
Makes it possible to run several queries in each file.
2014-11-17 11:54:21 +01:00
Johnny Bergström
d5f5eb65a6
Refactor version tracking
...
Make sure to rollback the version number in case we couldn't apply the changes.
Some deduplication of code.
2014-11-17 11:42:19 +01:00
mattes
0593bd037e
Update Readme
2014-08-27 11:30:42 +02:00
mattes
53ee5dca38
update readme and add new readme to cassandra driver
2014-08-27 11:25:42 +02:00
Paul Bergeron
cad776681e
Remove extraneous error handle
2014-08-26 20:26:46 -07:00
Paul Bergeron
988db1b4de
Only set inital version if there is an error on getting it the first time
2014-08-26 20:24:42 -07:00
Paul Bergeron
a191c8bf36
Fix issue where version wouldn't correctly populate
2014-08-26 20:19:51 -07:00
Paul Bergeron
c7e6d54365
Use counter for migration version information instead of rows
2014-08-26 19:43:58 -07:00
Paul Bergeron
dac7100cf3
Add support for Cassandra to migration drivers
2014-08-26 18:46:41 -07:00