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
fronik
a0afdc3038
Return one row with last version from postgres
2014-09-30 20:53:49 +04:00
mattes
c8a4eeed99
add me as author to postgres driver
2014-09-16 18:05:11 +02:00
mattes
0cc80701a7
add Close() func #7
2014-08-25 17:44:45 +02:00
mattes
37422d109d
get rid of backticks
2014-08-25 16:49:25 +02:00
mattes
e245a4664c
rename signal to interrupt and cleanup
2014-08-13 23:15:32 +02:00
mattes
69df0f6de7
add EnableSignals() and DisableSignals() and roll back some api design changes
2014-08-13 23:00:27 +02:00
mattes
dad5b36dbb
pass file instead of files to migrate and implement soft shutdown
2014-08-13 22:45:23 +02:00
mattes
cb82ec44c0
update tests
2014-08-13 16:58:08 +02:00
mattes
76da61b545
improve comments and add license
2014-08-13 03:37:48 +02:00
mattes
fbfb50d4e7
improve postgres errors and error formatting in general
2014-08-13 01:43:34 +02:00
mattes
2353a03eb4
refactor and add timer
2014-08-12 22:20:17 +02:00
mattes
2301404557
Use channels for communication
2014-08-12 21:17:31 +02:00
mattes
7852745c6b
forgot to remove debugging time.Sleep
2014-08-12 03:26:54 +02:00
mattes
b3835d4bde
add channel support
2014-08-12 03:16:37 +02:00
mattes
a45e244a71
initial
2014-08-11 03:42:57 +02:00