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
f06ee1acd2
ensure ordering on migration test
2013-11-29 12:48:25 -05:00
Ben Drucker
a9df0a11c7
Additional integration testing to confirm that migrations actually alter schemas as expected
2013-11-29 10:00:42 -05:00
Ben Drucker
c3bd8bf8b1
Pass promise constructor to migrations, not a fulfilled promise
2013-11-26 16:47:13 -05:00
Tim Griesser
44854ec984
updating test output for bigint & bigserial changes
2013-11-25 12:26:28 -05:00
Tim Griesser
667a20b66e
switching out underscore for lodash
2013-11-25 02:00:12 -05:00
Tim Griesser
20c7b20f73
removing listAll test and other unused tests
2013-11-25 01:45:15 -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
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
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
48096b1468
fix #98 , aggregates on toString / clone
2013-10-31 10:34:20 -04:00
Tim Griesser
b20c6c3f8e
swapping in bluebird, some promise cleanup
2013-10-27 22:34:58 -04:00
Tim Griesser
86a1a24a1a
some work on the migration code & api
2013-10-24 21:54:35 -04:00
Hung Tran
c884b6bbe7
added tests for table.charset and table.collate
2013-10-11 13:19:24 -05:00
Tim Griesser
ef0b01fc36
making composite key test more logical
2013-10-10 11:48:58 -04:00
Tim Griesser
fcec4f815a
composite key example test
2013-10-10 11:21:32 -04:00
Tim Griesser
42b418aae9
formatting error message again, adding sql & bindings on error object
2013-10-07 08:23:22 -04:00
Tim Griesser
3ebc4cbb63
hasColumn docs, mysql hasColumn fix, fixes #87
2013-10-07 08:22:40 -04:00
Tim Griesser
f1989e513d
editing error handling a bit, adding test, updated docs
2013-09-25 14:46:02 -04:00
Tim Griesser
2d1c0f019d
fix for internal mutation of builder on multiple toSql calls
2013-09-24 08:14:02 -04:00
Tim Griesser
c56ea53c8c
fix for #82 , hasTable returning true
2013-09-23 23:07:38 -04:00
Tim Griesser
0ae10c3236
fixing query ordering in tests
2013-09-13 18:48:28 -04:00
Tim Griesser
6b89cedf92
minor fixes for the unit tests
2013-09-13 18:11:50 -04:00
Tim Griesser
b8dd337334
0.4.0 release
2013-09-13 17:46:03 -04:00
Tim Griesser
5ca81a5cb5
afterCreate and beforeDestroy continue to use callbacks
2013-09-13 16:50:51 -04:00
Tim Griesser
76c2dbd75e
working on the docs, more internal cleanup
2013-09-13 15:36:49 -04:00
Tim Griesser
b1787cbb10
adding a toString method that properly escapes queries, fixes #59
2013-09-13 12:59:12 -04:00
Tim Griesser
71b47e925b
pulling in the option feature from #64 , rename to options
2013-09-13 11:40:51 -04:00
Tim Griesser
6cfa41a69f
minor cleanup
2013-09-13 10:24:39 -04:00
Tim Griesser
1a47485d33
integration tests are workinggit st
2013-09-12 13:30:47 -04:00
Tim Griesser
48563dfd31
sqlite3 mostly working except for the schema things
2013-09-12 01:00:44 -04:00
Tim Griesser
522c8fff63
finally got the sqlite3 stuff working, now to just hook up the tests
2013-09-12 00:26:33 -04:00
Tim Griesser
634f4751a1
mysql and pg are mostly working, now onto sqlite3
2013-09-11 23:36:55 -04:00
Tim Griesser
01c4a83d35
lots of library restructure / unit test work
2013-09-08 15:57:32 -04:00
Tim Griesser
faa2497ef1
wip unit tests & refactoring
2013-09-05 16:36:49 -04:00