415 Commits

Author SHA1 Message Date
vvo
05efb708d1 process.exit() with proper statusCode
One thing to take into account when making command lines
is to exit with the proper code so that grunt-tasks works as expected
when failing.
2014-01-14 15:47:42 +01:00
vvo
17fcaf4019 errors are logged with console.error so that stderr propagates 2014-01-14 15:46:48 +01:00
Tim Griesser
b3bfeffce7 release 0.5.4 0.5.4 2014-01-07 22:41:53 -05:00
Tim Griesser
cc04badfc0 docs prep for release 2014-01-07 22:41:52 -05:00
Tim Griesser
0cd3a93672 Merge pull request #147 from tgriesser/defaultTo-raw
Fix for #146, allowing knex.raw in defaultTo
2014-01-07 19:28:14 -08:00
Tim Griesser
fc69e3fbb9 hopefully valid raw mysql 2014-01-07 22:21:16 -05:00
Tim Griesser
b42d42e2bc fix for #146, allowing knex.raw in defaultTo 2014-01-07 22:12:33 -05:00
Tim Griesser
9ba990e452 release 0.5.3 0.5.3 2014-01-02 18:03:30 -05:00
Tim Griesser
ba5a934948 docs update for 0.5.3 2014-01-02 18:02:39 -05:00
Tim Griesser
655714a3e0 Merge pull request #145 from johanneslumpe/patch-2
For for incorrect sql (aggregates with columns)
2014-01-02 14:59:51 -08:00
Johannes Lumpe
6dd44f9dd6 Fixed wrong syntax when no columns are set 2014-01-03 00:52:18 +02:00
Tim Griesser
c43e0d76d8 Merge pull request #143 from p-baleine/topic-primarykey-docs-update
Added docs for compound primary key
2014-01-02 13:13:15 -08:00
Johannes Lumpe
7a1c151743 For for incorrect sql (aggregates with columns) 2014-01-02 19:12:12 +02:00
Tajima Junpei
0ed9f72f5d Added docs for compound primary key 2013-12-31 13:15:32 +09:00
Tim Griesser
e013a282d6 Merge pull request #142 from johanneslumpe/patch-1
Added docs for foreign key chainable methods
2013-12-28 08:23:35 -08:00
Johannes Lumpe
cc1ccc216e Added docs for foreign key chainable methods 2013-12-27 23:21:49 +02:00
Tim Griesser
ef0d96ff5a release 0.5.2 0.5.2 2013-12-18 17:27:28 -05:00
Tim Griesser
373868cfbc docs update for 0.5.2 2013-12-18 17:27:16 -05:00
Tim Griesser
5b5a6f62fd use bluebird nodeify, add catch/finally promise methods 2013-12-18 17:24:28 -05:00
Tim Griesser
7bd0f0072d docfix 2013-12-12 17:43:22 -05:00
Tim Griesser
186bb1b34a release 0.5.1 0.5.1 2013-12-12 17:39:29 -05:00
Tim Griesser
5c4f0a48e5 bumping docs & deps for 0.5.1 2013-12-12 17:37:44 -05:00
Tim Griesser
c4b221940b Merge pull request #134 from dlau/master
schemabuilder bigInteger documentation
2013-12-12 14:23:21 -08:00
Tim Griesser
e1be421f1a Merge pull request #135 from lmorchard/use-extension-for-migration-list-all
Only use files with the correct extension for migrations
2013-12-12 06:40:50 -08:00
Les Orchard
f2dd5f8305 Only use files with the correct extension for migrations 2013-12-12 08:59:35 -05:00
Daryl L
2d61617dac schemabuilder bigInteger documentation 2013-12-11 12:20:49 -08:00
Tim Griesser
7e4913bd32 Fixing changes in cli script update 2013-12-11 12:13:29 -05:00
Tim Griesser
d8c332185e #125, using local knex install for cli if possible 2013-12-11 12:05:19 -05:00
Tim Griesser
06c38bcc2d Allow for returning in update queries, #132 2013-12-10 14:55:05 -05:00
Tim Griesser
10e3d398f4 Fix #132, allow multiple returning formats in postgres 2013-12-10 13:33:49 -05:00
Tim Griesser
b575abf261 remove umd from index.js 2013-12-10 13:09:01 -05:00
Ben Drucker
e152884e5b Explicitly sort files for migrations, fixing #130 2013-12-09 12:39:23 -05:00
Ben Drucker
bcc975986f Add local install note to CLI docs 2013-12-09 09:11:28 -05:00
Tim Griesser
55ef992d1a Merge branch 'master' of github.com:tgriesser/knex
* 'master' of github.com:tgriesser/knex:
  add docs
2013-12-05 16:04:17 -05:00
Tim Griesser
c6fda895c6 Merge pull request #124 from mulderp/sqlite3_init
add docs for initializing SQLite3 adapter
2013-12-05 13:03:54 -08:00
Patrick Mulder
4441eb8f6e add docs 2013-12-05 21:50:05 +01:00
Tim Griesser
b65bf4f231 removing umd, Promise.method on query 2013-12-02 23:58:41 -05:00
Tim Griesser
c39bdf5a5c lowercase transaction in docs 2013-12-02 23:53:18 -05:00
Tim Griesser
8fd8aaf357 Merge pull request #119 from aidenbell/master
Proposed fix for https://github.com/tgriesser/knex/issues/118
2013-12-01 20:40:46 -08:00
Aiden Bell
4212205084 Proposed fix for https://github.com/tgriesser/knex/issues/118 2013-12-01 21:14:23 +00:00
Tim Griesser
f06ee1acd2 ensure ordering on migration test 2013-11-29 12:48:25 -05:00
Ben Drucker
5c403906a3 Merge pull request #117 from valet-io/master
Additional integration testing for migrations
2013-11-29 07:03:33 -08:00
Ben Drucker
a9df0a11c7 Additional integration testing to confirm that migrations actually alter schemas as expected 2013-11-29 10:00:42 -05:00
Tim Griesser
98d6a8bb10 bumping bluebird dependency 2013-11-29 08:40:29 -05:00
Tim Griesser
3d898efca5 dropping 0.6 as a target version
Should still work though.
2013-11-28 11:43:47 -05:00
Tim Griesser
3c8d08a64b Removing unnecessary UMD
When this eventually enabled on the client side,
we can build this into the build script.
2013-11-27 16:51:01 -05:00
Tim Griesser
ebd3e5bcd9 Merge pull request #115 from valet-io/master
Fix direct inclusion of Knex instance in migrations
2013-11-27 10:33:37 -08:00
Ben Drucker
b5808c537c Fix direct inclusion of Knex instance in migration config 2013-11-27 13:20:03 -05:00
Tim Griesser
dd99d0b123 Merge pull request #114 from valet-io/master
Fix migrations bug for multiple operations
2013-11-26 14:15:21 -08:00
Ben Drucker
c3bd8bf8b1 Pass promise constructor to migrations, not a fulfilled promise 2013-11-26 16:47:13 -05:00