2646 Commits

Author SHA1 Message Date
Tim Griesser
2abc48d73b release 0.7.1 0.7.1 2014-10-01 17:34:42 -04:00
Tim Griesser
9bfb1cfc18 Fix regression in migration path resolution, caused by #494 2014-10-01 17:25:10 -04:00
Tim Griesser
b73a85f628 Better error handling for disconnects & pool, fix #452 2014-10-01 17:24:25 -04:00
Tim Griesser
00cfb910a2 release 0.7.0 0.7.0 2014-10-01 16:29:39 -04:00
Tim Griesser
9fe65d92d6 Bumping dependencies, adding changelog 2014-10-01 16:27:57 -04:00
Tim Griesser
b58269403d Support both array and variable arg key syntax, #485 2014-10-01 16:10:53 -04:00
Tim Griesser
3d22ab2499 Add where(bool) test 2014-10-01 16:10:06 -04:00
Tim Griesser
5280e6e91c Handle empty array case for whereIn, fix #477 2014-10-01 15:50:48 -04:00
Tim Griesser
b4333f9fee Consistent handling of 'not' cases similar to 'or' 2014-10-01 15:22:49 -04:00
Tim Griesser
08221f2396 Merge pull request #511 from tkellen/schemas
implement support for postgres create/drop schema
2014-10-01 14:20:16 -04:00
Tyler Kellen
0f9a5448dc implement support for postgres create/drop schema 2014-09-30 12:52:41 -04:00
Tim Griesser
0b5ca3563a Merge pull request #494 from jut-io/fix-migrate-absolute-paths
migration config support both absolute and relative paths
2014-09-29 11:24:58 -04:00
Tim Griesser
9f752a984d Merge pull request #495 from jut-io/fix-sqlite-insert-chunked
fix off-by-one error in sqlite insertChunked
2014-09-29 11:24:32 -04:00
Tim Griesser
eeb3b368d7 Merge pull request #500 from tgriesser/jsonb
Allow jsonb columns to be created with the schema builder
2014-09-29 11:24:04 -04:00
Ben Drucker
4b1ea1b2db Document extension option for migration API 2014-09-29 07:50:48 -04:00
Ben Drucker
3e182653eb Clarify migration setup on #initialize
Closes #507
2014-09-29 07:48:20 -04:00
Vincent Schoettke
3544aff604 Merge pull request #508 from vschoettke/join-without-column-specification
join columns specification now optional. Fixes #504
2014-09-29 10:15:05 +02:00
Vincent Schoettke
5c7d106283 join columns now optional. Fixes #504 2014-09-29 10:05:53 +02:00
Ben Drucker
40effe848a Allow jsonb columns to be created with the schema builder
Closes #499
2014-09-22 12:25:28 -04:00
Michael Demmer
18179bd2de fix off-by-one error in sqlite insertChunked 2014-09-18 10:59:18 -07:00
Michael Demmer
b7672df536 fix _absoluteConfigDir to support both absolute and relative paths 2014-09-18 10:49:52 -07:00
Ben Drucker
7ef13ed32a Fix mistakes and syntax error in example
Also use SQLite so new users can more easily copy and paste and try it out right away
Fixes #488
2014-09-16 09:14:35 -04:00
Ben Drucker
d819f678ff Merge pull request #485 from fluxxu/master
* fluxxu-master:
  Fix SQLite composite primary key
2014-09-12 17:24:22 -04:00
Flux Xu
7c5411db8f Fix SQLite composite primary key 2014-09-12 17:21:36 -04:00
Ben Drucker
bb2a5b5d68 Merge pull request #472 from myndzi/jshint-ignore-migrations
Don't lint leftover migration files from interrupted tests
2014-09-10 18:22:17 -04:00
Kris Reeves
40e34e1e69 Don't lint leftover migration files from interrupted tests 2014-09-10 12:15:58 -04:00
Vincent Schoettke
eec5f3b47b Merge pull request #468 from vschoettke/fix-insert-without-values
Fixes #319. Inserting multiple rows with default values
2014-09-08 16:27:03 +02:00
Vincent Schoettke
72cf342273 Fixes #319. Inserting multiple rows with default values 2014-09-08 16:10:43 +02:00
Tim Griesser
9ecd443417 Add .beginTransaction method for consistency, fix #458 2014-09-03 16:19:52 -04:00
Tim Griesser
d77debbaa8 Properly remove seed test file to prevent jshint warning 2014-09-03 16:18:22 -04:00
Vincent Schoettke
eec5bdc4f6 Merge pull request #464 from vschoettke/more-jshint-restrictions
Added more JSHint restrictions
2014-09-03 11:44:40 +02:00
Vincent Schoettke
4c43d69313 Enabled eqeqeq jshint restriction and fixed warnings 2014-09-03 11:04:10 +02:00
Vincent Schoettke
f67d04035c Enabled latedef jshint restriction and fixed warnings 2014-09-03 10:48:25 +02:00
Vincent Schoettke
9777a1c3de Merge pull request #462 from vschoettke/add-jshint-restrictions
Added more JSHint restrictions
2014-09-02 23:18:32 +02:00
Vincent Schoettke
8b2084f892 Added jshint newcap and undef options and fixed warning 2014-09-02 23:07:46 +02:00
Vincent Schoettke
67642ae542 Changed jshint browser option to false and fixed warning 2014-09-02 23:00:53 +02:00
Vincent Schoettke
ef173db790 Changed jshint option unused to true and fixed warnings 2014-09-02 22:56:51 +02:00
Vincent Schoettke
b86f25b727 Removed jshint sub and fixed warnings 2014-09-02 22:25:02 +02:00
Vincent Schoettke
a373905171 Removed jshint eqnull and fixed warnings 2014-09-02 22:19:22 +02:00
Vincent Schoettke
98f4f9a1dd Removed jshint expr and fixed warnings 2014-09-02 22:03:14 +02:00
Vincent Schoettke
89973dac20 Removed jshint boss and fixed warnings 2014-09-02 21:37:58 +02:00
Ben Drucker
1dc966273d Fix accidental markdown
Wrote link as Markdown in ef7e425917adbd1fbf69977fd364a8850b1848c4
2014-09-02 12:47:32 -04:00
Ben Drucker
ef7e425917 Note that schema methods return promises
Closes #457
2014-09-02 12:41:38 -04:00
Tim Griesser
d4349a9cff Add default as alias for defaultTo 2014-09-02 10:54:07 -04:00
Tim Griesser
b1602256d9 Merge pull request #456 from halfdan/patch-1
Prevent executing a query when no connection exists
2014-09-02 07:49:20 -04:00
Fabian Becker
077a7e0e60 Prevent executing a query when no connection exists
no ref
2014-09-02 12:04:21 +02:00
Tim Griesser
b03cd1306f Merge pull request #455 from vschoettke/jshint-fix
JSHint fixes
2014-09-01 14:44:01 -04:00
Vincent Schoettke
f3874ac651 Fixed several jshint warnings. Added strict mode 2014-09-01 17:19:34 +02:00
Vincent Schoettke
e0d77ccb59 jshint now tests all source files. Switched to use gulp-jshint instead of cli call. 2014-09-01 17:16:39 +02:00
Vincent Schoettke
473827b8c1 Added missing require statement 2014-09-01 16:56:30 +02:00