Commit Graph

30 Commits

Author SHA1 Message Date
Matthias Kadenbach ee384ed8cc initial version 3.0.0 preview
hard work
2017-02-07 22:01:29 -08:00
Sam Willcocks 5773f75698
Add Ql driver
Adds a driver for the embedded Ql database (https://github.com/cznic/ql)
2017-01-05 15:09:41 +00:00
Matthias Kadenbach 11b4db8a90 Merge pull request #73 from uber/create_epoch
prefix migration files with epoch
2016-12-21 20:51:44 -08:00
Matthias Kadenbach e97cecb0cf Merge pull request #124 from dacamp/skip
Skip tests requiring a DB connection with the '-short' flag
2016-12-21 20:42:53 -08: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
Michael Morin 7f9f7e5978 Release OS signals when you're finished with them. 2016-02-11 22:35:49 -05: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
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
Nick Gauthier 1333184c7b fix check on err when using err2 2015-01-15 12:44:51 -05:00
Paul Bergeron ca8cd2c56b Fix import paths to reflect upstream 2014-08-26 18:48:46 -07:00
Paul Bergeron dac7100cf3 Add support for Cassandra to migration drivers 2014-08-26 18:46:41 -07:00
mattes 0cc80701a7 add Close() func #7 2014-08-25 17:44:45 +02:00
mattes 0067abbe92 Update Readme 2014-08-14 00:05:58 +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 20aeb70b92 removed false comment 2014-08-13 04:35:05 +02:00
mattes d30aecb4ff update comments 2014-08-13 03:55:59 +02:00
mattes 76da61b545 improve comments and add license 2014-08-13 03:37:48 +02:00
mattes 5ee5242bb1 fix a bug where pipe messages were dropped by accident 2014-08-13 02:34:24 +02:00
mattes 2301404557 Use channels for communication 2014-08-12 21:17:31 +02:00
mattes 707c9b9c07 fix downPipe bug 2014-08-12 03:30:44 +02:00
mattes b3835d4bde add channel support 2014-08-12 03:16:37 +02:00
mattes a2af1abb3a add some comments and typo fixed 2014-08-11 05:03:57 +02:00
mattes 34e959f3b5 start working on migrate-cli 2014-08-11 04:28:00 +02:00
mattes ebc7d37dc5 update files to not use searchpath anymore 2014-08-11 03:54:07 +02:00
mattes a45e244a71 initial 2014-08-11 03:42:57 +02:00