Commit Graph

259 Commits

Author SHA1 Message Date
mattes 2cf4b2c33e rename errorFlag to okFlag to make it even more clearer #22 2014-12-19 12:10:32 -08:00
Matthias Kadenbach bcba31af11 Merge pull request #23 from ngauthier/return-errors-from-pipes-and-exit
return ok bool instead of error bool
2014-12-19 12:06:46 -08:00
Nick Gauthier f61157f6a6 return ok bool instead of error bool. fixes #22 2014-12-19 08:19:42 -05:00
mattes 48fe666dbe Update Readme 2014-12-19 02:50:58 -08:00
mattes 05e520bd44 replace bool with errorFlag #22 2014-12-19 02:41:11 -08:00
mattes 3ce2dc92c2 fixing #22 2014-12-19 02:40:11 -08:00
Matthias Kadenbach 6b535262fd Merge pull request #21 from divoxx/mysql_version_table_issue
WIP: Prevents MySQL driver to failing when version table alredy exists
2014-12-05 13:07:42 -08:00
Rodrigo Kochenburger 94efc48c49 Don't stop when a mysql warning happens 2014-12-04 14:33:52 -08:00
Rodrigo Kochenburger 6bce23e36a Don't consider warnings as errors 2014-12-04 13:59:40 -08:00
Rodrigo Kochenburger c94461932f Prevents MySQL driver to failing when version table alredy exists
The MySQL driver is using `CREATE TABLE IF NOT EXISTS`, which causes
the MySQL database to raise warnings. The golang driver collects
the warnings and return a composite object (mysql.MySQLWarnings) as
an error that needs to be properly handled.

This change stops the driver from failing in case there are only
warnings.
2014-12-04 13:49:26 -08:00
Matthias Kadenbach 150ce9b524 Merge pull request #20 from balboah/master
Cassandra driver tweaks
2014-11-17 12:42:36 -08: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
Matthias Kadenbach 7ae5048cb3 Merge pull request #19 from balboah/master
Fix typo in printing migrations path
2014-11-05 12:12:51 -08:00
Johnny Bergström 357fbc15d9 Fix typo in printing migrations path
We want to print the value pointed to, not the pointer.
2014-11-05 12:19:22 +01:00
mattes c1f0a1a044 fix mysql 2014-10-17 11:50:39 -07:00
mattes 5b6715333f fix mysql tests 2014-10-17 11:39:01 -07:00
mattes 7b1a07fa97 mysql scheme fix 2014-10-17 11:34:43 -07:00
mattes bbc885c280 update to version 1.2.0 2014-10-11 01:39:08 +02:00
mattes cb9cddce8e remove scheme mysql:// prefix in sql.Open 2014-10-11 01:37:00 +02:00
mattes 95068e6a03 Update Readme 2014-10-11 01:32:26 +02:00
mattes 664bce394b Update Readme 2014-10-11 01:31:38 +02:00
mattes d6eb6c4959 Update Readme 2014-10-11 01:29:01 +02:00
mattes e34a5d7a03 Update Readme 2014-10-11 01:27:58 +02:00
mattes 8d261405e0 oups, forgot to remove char again 2014-10-11 01:22:16 +02:00
mattes 24dff377cc fix mysql tests 2014-10-11 01:22:16 +02:00
mattes ff8020a6a6 fix wrong string 2014-10-11 01:22:16 +02:00
mattes cc23e29eef split sql statements by ; 2014-10-11 01:22:15 +02:00
mattes 2faaebc76a experimental implementation 2014-10-11 01:22:15 +02:00
mattes 8496f2a8a2 initial 2014-10-11 01:22:15 +02:00
mattes e5ce91ef84 Update Readme 2014-10-07 11:32:33 +02:00
mattes ce6fbbea7c Update Readme 2014-10-04 09:48:56 +02:00
mattes 805b8413d6 fix typo 2014-10-04 09:46:29 +02:00
Matthias Kadenbach e89512949c Merge pull request #14 from vkonstantin/feature/migrateTo
Add goto command
2014-10-04 09:44:10 +02:00
Matthias Kadenbach 5342ee5a3c Merge pull request #15 from vkonstantin/feature/pg_version
Return one row with last version from postgres
2014-10-04 09:43:06 +02:00
fronik a0afdc3038 Return one row with last version from postgres 2014-09-30 20:53:49 +04:00
fronik 9ba9fe85e6 Add "goto" command 2014-09-30 20:46:12 +04:00
mattes b4a84d29ff remove authors from main readme for better readability 2014-09-16 18:06:25 +02:00
mattes c8a4eeed99 add me as author to postgres driver 2014-09-16 18:05:11 +02:00
mattes 60db19971e Update Readme 2014-08-27 11:52:37 +02:00
mattes 0593bd037e Update Readme 2014-08-27 11:30:42 +02:00
mattes d7b331539b Update Readme 2014-08-27 11:27:47 +02:00
mattes ef1cdd697b Update Readme 2014-08-27 11:27:16 +02:00
mattes 53ee5dca38 update readme and add new readme to cassandra driver 2014-08-27 11:25:42 +02:00
Matthias Kadenbach 303d40c992 Merge pull request #10 from dinedal/feature/add_cassandra_driver
Allows for migrations to take place against cassandra
2014-08-27 11:21:09 +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 28f6567fa0 Add cassandra to travis 2014-08-26 20:00:00 -07:00