779 Commits

Author SHA1 Message Date
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
Tim Griesser
f85beabfdd Merge pull request #113 from valet-io/master
Match CoffeeScript stub to JS
2013-11-26 09:37:27 -08:00
Ben Drucker
0d30bd7d2b Match CoffeeScript stub to JS 2013-11-26 12:19:27 -05:00
Tim Griesser
2cc5e99deb Merge pull request #112 from p-baleine/topic-migration-config-path
Resolve configuration file path on migration
2013-11-25 16:48:42 -08:00
tajima-junpei
199d09edcf Resolve configuration file path on migration
It changes so that the path of the migration config file is resolved before it is required.
This avoids `Cannot find module` error when the configuration file path is specified as relative path.
2013-11-26 08:32:53 +09:00
Tim Griesser
4af815ad03 minor docs fix 2013-11-25 12:35:53 -05:00
Tim Griesser
0007aaaa5d release 0.5.0 0.5.0 2013-11-25 12:33:04 -05:00
Tim Griesser
53998e3dd0 Updating docs for 0.5.0 2013-11-25 12:31:42 -05:00
Tim Griesser
44854ec984 updating test output for bigint & bigserial changes 2013-11-25 12:26:28 -05:00
Tim Griesser
5354f32b4f Merge branch 'feature/postgres-bigint' of github.com:bryanaka/knex into bryanaka-feature/postgres-bigint
* 'feature/postgres-bigint' of github.com:bryanaka/knex:
  added bigint type to postgresql
2013-11-25 11:24:30 -05:00
Tim Griesser
d3c927af16 Better error info on schema
Add info to docs about debugging promises
Add early errors to schema interface if table is not defined
2013-11-25 11:14:13 -05:00
Bryan Robles
f61eea9523 added bigint type to postgresql 2013-11-25 01:21:12 -08:00
Tim Griesser
e3cd5df9af docs & prep for 0.5.0 2013-11-25 02:06:42 -05:00
Tim Griesser
667a20b66e switching out underscore for lodash 2013-11-25 02:00:12 -05:00
Tim Griesser
d334de5326 fixes #109, adding groups to cloned fields 2013-11-25 01:48:39 -05:00
Tim Griesser
20c7b20f73 removing listAll test and other unused tests 2013-11-25 01:45:15 -05:00
Tim Griesser
39ec293892 Initial version of the migration cli ready 2013-11-25 01:43:55 -05:00
Tim Griesser
25b99f2622 Merge branch 'master' of github.com:tgriesser/knex
* 'master' of github.com:tgriesser/knex:
  Test for aggregate function with output name.
  Support for multiple aggregate functions.
  Failing test for #108
  Drop default output name for aggregate functions.
2013-11-25 00:55:49 -05:00
Tim Griesser
f78fc3e199 continuing work on migrations cli 2013-11-25 00:55:26 -05:00
Tim Griesser
6b5a74383e Merge branch 'migrations' of github.com:benesch/knex into benesch-migrations
* 'migrations' of github.com:benesch/knex:
  Create skeleton CLI for migrations
  Executabilize bin/knex
2013-11-24 19:25:49 -05:00
Tim Griesser
1af80fa212 bumping bluebird dependency 2013-11-24 19:25:23 -05:00
Tim Griesser
704649caca Merge pull request #110 from luigy/support-multiple-aggregate-funtions
Support multiple aggregate funcions
2013-11-23 13:23:52 -08:00
Luigy Leon
91ce6d9121 Test for aggregate function with output name. 2013-11-23 13:18:07 -05:00
Luigy Leon
bbd50a6514 Support for multiple aggregate functions. 2013-11-23 13:09:57 -05:00
Luigy Leon
6f967003d4 Failing test for #108 2013-11-23 12:10:01 -05:00
Luigy Leon
35047912fe Drop default output name for aggregate functions. 2013-11-23 11:44:25 -05:00
Tim Griesser
64f9deb651 fixes #100, increment/decrement values 2013-11-20 09:17:08 -05:00
Tim Griesser
2558a10f5a Merge pull request #107 from vacay/master
squashed problems with .having()
2013-11-20 06:00:16 -08:00
Kia Rahimian
d26c1b7b95 fixed bug with .having() 2013-11-19 22:47:38 -05:00
Tim Griesser
7a6937fdb3 cleanup for readability of migrations, mostly done 2013-11-02 17:39:52 -04:00
Tim Griesser
b733e01f59 fixing some issues with promises 2013-11-02 13:43:12 -04:00
Tim Griesser
065322e007 working on the migrations spec, debugging bluebird 2013-11-02 13:14:38 -04:00
Tim Griesser
d01dd8a9a1 merging with master 2013-11-02 10:19:09 -04:00
Tim Griesser
8b2ef4eef1 merging bluebird into migrations 2013-11-02 09:26:31 -04:00
Tim Griesser
17d09f2655 Merge branch 'bluebird'
* bluebird:
  cleanup on the .then interface
  swapping in bluebird, some promise cleanup
2013-11-02 09:24:17 -04:00
Tim Griesser
354c9ea834 cleanup on the .then interface 2013-11-02 09:24:08 -04:00
Tim Griesser
761c97c5b3 release 0.4.13 0.4.13 2013-10-31 10:37:04 -04:00