Commit Graph

842 Commits

Author SHA1 Message Date
Matthias Kadenbach 3547fc54cb Merge pull request #144 from benma/patch-1
Update version.go
2017-01-19 09:32:29 -08:00
benma 64c41a8af0 Update version.go 2017-01-19 14:11:19 +01:00
Matthias Kadenbach 4191ac9cfe Merge pull request #142 from goenning/master
allow use of big version numbers
2017-01-18 15:48:54 -08:00
goenning f1738e78db allow use of big version numbers 2017-01-18 22:19:02 +00:00
Matthias Kadenbach de494e4b98 Merge pull request #128 from oliverkofoed/master
Add support for ScyllaDB (remove cql counter use)
2017-01-10 09:26:17 -08:00
Matthias Kadenbach 585509f3bc Merge pull request #138 from mattes/add-mongo-to-readme
add mongodb to readme
2017-01-09 10:43:35 -08:00
Matthias Kadenbach f630dc5971 Update README.md 2017-01-09 10:43:22 -08:00
Matthias Kadenbach 9a8f78ba3b Merge pull request #137 from drboyer/updown-colors
Change colors for up and down migration arrows
2017-01-09 10:39:55 -08:00
Matthias Kadenbach 63c6168c7f Merge pull request #136 from dimag-jfrog/prepare_pr_2_rebase
Driver for MongoDB (New)
2017-01-09 10:38:56 -08:00
Devin Boyer 0c80688879 Change colors for up and down migration arrows 2017-01-08 21:33:04 -05:00
dimag 1993f0783b Merge remote-tracking branch 'fork/prepare_pr_2_rebase' into prepare_pr_2_rebase
# Conflicts:
#	docker-compose.yml
2017-01-07 16:44:36 +02:00
dimag 70238f448b - Reverted repository from dimag-jfrog to mattes to prepare for pull request 2017-01-07 16:36:25 +02:00
dimag 914c38e379 - 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:34:06 +02:00
dimag 0f28b01383 specifying version of mongo 2017-01-07 16:34:06 +02:00
dimag 6909594c0b Checking non-exported migration method 2017-01-07 16:33:10 +02:00
dimag 583921e8bf Added README.md 2017-01-07 16:33:10 +02:00
dimag 61ecf2c096 - Refactored project structure to be consistent with original project
- Added docker support
2017-01-07 16:33:10 +02:00
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