Commit Graph

575 Commits

Author SHA1 Message Date
dimag 0eecb74230 Added explicit migration method signature validation 2017-01-07 16:30:40 +02:00
dimag b7b75f3c59 - registering method receiver directly for the driver
- currently each driver contains only a single method receiver:
   - enforcing method receiver pre-registration on go methods driver initialization
   - Method receiver name can be removed from files format
- passing the DbName parameter inside the method receiver for the go methods driver
2017-01-07 16:30:40 +02:00
dimag fe48ddfdcc - redefined mongo db driver to be autonomous and not depending on specific methods
- defined methods receivers registration by name and change the migration files format to include them
- added extensive testing
2017-01-07 16:30:40 +02:00
dimag 70b23c3f84 Relaxed constratint that method receiver has to be of Driver interface. 2017-01-07 16:30:40 +02:00
dimag 223908f9d2 - Reset all changes to the upstream branch
- Changed logic not to use custom filename parser:
  -Supporting up and down files only, no both direction files
  -Using method names as is
- Added complete test to the mongo db migration scenarios
2017-01-07 16:30:40 +02:00
dimag 1838852d4d Changes that interfere with the Migrate open source code:
- Added go methods migrator, mongo db template: different from the usual driver
model.
- Added support for bidirectional files (for go methods), appending _up or _down upon context
- Added DriverWithFilnameParser for providing custom filename parser functionality that knows to parse bi-directional file names.
2017-01-07 16:29:19 +02:00
dimag 175550643c changed import paths to point to dimag-jfrog 2017-01-07 16:24:14 +02:00
dimag 34a3e58ab9 - Reverted repository from dimag-jfrog to mattes to prepare for pull request 2017-01-07 16:16:00 +02:00
dimag dec52a778f - Using double quotes for parameter in docker-compose - to be more aligned with master repository 2017-01-07 16:12:48 +02:00
dimag 8865262a03 - Fixed test with not-exported method identified as missing: unified the 2 errors into one
- Fixed error message formatting
- Ensuring uniqueness of the version field (added unique index)
2017-01-07 16:08:09 +02:00
Matthias Kadenbach eb0eec4471 Merge pull request #135 from ansel1/master
Avoid DDL when checking for versions table #134
2017-01-06 14:24:59 -08:00
Russ Egan da6c505f41 Avoid DDL when checking for versions table #134 2017-01-06 15:52:54 -05:00
Matthias Kadenbach 966ba843e0 Merge pull request #133 from wlcx/add-ql-driver
Add Ql driver
2017-01-05 14:04:34 -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 3e3cef3763 Merge pull request #131 from dacamp/patch-1
Update README to reflect epoch filenames
2016-12-22 14:18:38 -08:00
David Campbell d4796c8104 Update README to reflect epoch filenames 2016-12-22 12:30:34 -08:00
Matthias Kadenbach cd15e67614 Merge pull request #104 from connctd/crate
Driver for the Crate.io database
2016-12-21 20:57:04 -08: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 474d0f5a60 Merge pull request #90 from jmhodges/fail_on_missing_command
use a non-zero exit code when no command is given
2016-12-21 20:48:03 -08:00
Matthias Kadenbach b4d9b6ae24 Merge pull request #59 from bfitzsimmons/patch-1
Fixes typos.
2016-12-21 20:44:14 -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
Matthias Kadenbach 492671437f Merge pull request #125 from dacamp/travis
Bump travis versions to use Go 1.6 and 1.7
2016-12-21 20:41:32 -08:00
Matthias Kadenbach cb2fa36c8b Merge pull request #81 from uzimonkey/master
Release OS signals when you're finished with them.
2016-12-21 20:32:53 -08:00
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
Oliver Kofoed 9e11d704a4 Add support for ScyllaDB (remove cql counter use) 2016-12-18 19:25:52 -08:00
David Campbell d290bf9460 - docker command should remain 'go-test' 2016-10-23 15:11:04 -07:00
David Campbell 04e1cb0cfc Bump travis versions to use Go 1.6 and 1.7 2016-10-23 15:05:54 -07: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
Triet Pham 74b161fdb2 Add Cassandra url format 2016-08-31 10:20:16 +07:00
dimag 32cb825110 specifying version of mongo 2016-08-10 21:33:36 +03:00
dimag 9bd4c8c83c Checking non-exported migration method 2016-08-10 21:25:36 +03:00
dimag e9ede5506a Added README.md 2016-08-10 20:39:41 +03:00
dimag e27b9c2a7b - Refactored project structure to be consistent with original project
- Added docker support
2016-08-10 17:15:17 +03:00
dimag 834a096bf8 Added explicit migration method signature validation 2016-08-10 14:13:53 +03:00
dimag 866ff82ffe - registering method receiver directly for the driver
- currently each driver contains only a single method receiver:
   - enforcing method receiver pre-registration on go methods driver initialization
   - Method receiver name can be removed from files format
- passing the DbName parameter inside the method receiver for the go methods driver
2016-08-09 21:16:21 +03:00
dimag 570e4b42be - redefined mongo db driver to be autonomous and not depending on specific methods
- defined methods receivers registration by name and change the migration files format to include them
- added extensive testing
2016-08-09 16:47:34 +03:00
dimag c71fea90d6 Relaxed constratint that method receiver has to be of Driver interface. 2016-08-08 21:34:52 +03:00
dimag 5f7b2caee8 - Reset all changes to the upstream branch
- Changed logic not to use custom filename parser:
  -Supporting up and down files only, no both direction files
  -Using method names as is
- Added complete test to the mongo db migration scenarios
2016-08-08 21:07:37 +03:00
dimag 64101a13e9 Changes that interfere with the Migrate open source code:
- Added go methods migrator, mongo db template: different from the usual driver
model.
- Added support for bidirectional files (for go methods), appending _up or _down upon context
- Added DriverWithFilnameParser for providing custom filename parser functionality that knows to parse bi-directional file names.
2016-08-08 16:29:25 +03:00
dimag 8630ea78b7 changed import paths to point to dimag-jfrog 2016-08-04 15:52:31 +03: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
Till Klocke cd5f75d47c Splitting of sql is now more robust and better tested 2016-06-16 14:34:50 +02:00