30 Commits

Author SHA1 Message Date
Tim Griesser
01bae6a598 Add disableTransactions option, #834 2015-05-20 11:08:27 -04:00
Tim Griesser
7e884cb325 Babel src -> lib, remove gulp 2015-05-09 13:58:18 -04:00
Tim Griesser
ca158836a0 Cast buffer to string, #796 2015-04-28 08:14:22 -04:00
Tim Griesser
7b17cc404a Oracle test suite up to date 2015-04-27 20:22:05 -04:00
Tim Griesser
46e318d6da Cleaning up transactions, passing options arg to pipe 2015-04-23 14:51:33 -04:00
Tim Griesser
34b6bd4076 Merge pull request #788 from zcei/feature/migrations-transaction
Wraps migrations in transations
2015-04-22 15:52:52 -04:00
Tim Griesser
f9aab9dc76 Major internal refactor
Beefed up transaction implementation, still needs tests
and cleanup of nested transaction queues.

Left todo:
- Fix commented out tests
- Fix oracle driver's transactions
2015-04-22 10:34:14 -04:00
Tim Griesser
eee4e9c005 Fixing the overall class dependency approach, lots of internal cleanup, WIP 2015-04-19 16:31:52 -04:00
Chris Papazian
6bad04aa2b Don't use camelCase in aliased column names
Change the query that gets the max batch to be all lowercase to support databases that don't allow cased names.
2015-04-01 14:58:52 -07:00
Thomas Dashney
e960214271 fixed migration bug where it errors out when migrations table is empty 2015-02-19 22:07:52 -05:00
Stephan Schneider
22044df685 warnPromise receives return from migration 2015-01-09 10:57:14 +01:00
Stephan Schneider
49b833014c Wraps migrations in transations 2015-01-08 23:53:11 +01:00
Ben Drucker
d56536c1b4 Warn when a migration does not return a promise 2015-01-04 08:47:11 -05:00
Tim Griesser
9bfb1cfc18 Fix regression in migration path resolution, caused by #494 2014-10-01 17:25:10 -04:00
Michael Demmer
b7672df536 fix _absoluteConfigDir to support both absolute and relative paths 2014-09-18 10:49:52 -07:00
Vincent Schoettke
f67d04035c Enabled latedef jshint restriction and fixed warnings 2014-09-03 10:48:25 +02:00
Vincent Schoettke
ef173db790 Changed jshint option unused to true and fixed warnings 2014-09-02 22:56:51 +02:00
Vincent Schoettke
f3874ac651 Fixed several jshint warnings. Added strict mode 2014-09-01 17:19:34 +02:00
Noah Santorello
97c8c820e6 Made migration CLI tasks output absolute paths 2014-07-21 19:48:31 -04:00
Noah Santorello
26e4135f7f Fixing path issues in migration and seed functionality 2014-07-21 19:27:26 -04:00
Tim Griesser
215864ec70 .whereExists / .whereNotExists may also take knex builder 2014-06-14 09:58:38 -04:00
Tim Griesser
e550b2d394 Adding node-mariasql as a target option 2014-06-03 23:27:37 -04:00
Tim Griesser
fa0c48c86e Adding the new knex-cli package as a dependency 2014-05-29 00:11:00 -04:00
Tim Griesser
f7ad182e68 working on a lot of tooling, migration pieces 2014-05-28 22:29:34 -04:00
Tim Griesser
2e94a89d58 a bit of cleanup on the migrations 2014-04-27 20:03:10 -04:00
Johannes Lumpe
838b53a2d8 Made migration tests pass 2014-04-27 12:00:51 +03:00
Tim Griesser
6c76cc5cf0 adding jshint, cleaning unused variables 2014-04-16 03:22:47 -04:00
Tim Griesser
dfdc426751 Majorly refactoring every piece of the library, WIP 2014-04-08 16:25:57 -04:00
Tim Griesser
55f7f28761 making stateless querying opt-in, not default 2014-02-22 17:06:33 -05:00
Tim Griesser
4c589cc960 working on refactoring the internals 2014-02-14 12:46:13 -05:00