17 Commits

Author SHA1 Message Date
Tim Griesser
521a6f9e97 Remove use strict, assumed in ES6 2015-05-09 14:01:19 -04:00
Tim Griesser
7e884cb325 Babel src -> lib, remove gulp 2015-05-09 13:58:18 -04:00
Tim Branyen
56d73165cb Adds trailing commas to seed stubs
I just started started using the seed feature of knex, which is awesome!
I thought it might be nice to add a trailing comma to make it easier to
copy/paste new lines.

Just a minor tweak.
2015-05-03 13:41:56 -04:00
Tim Griesser
bdd0efa60b Fix #804, reference seed config for migrator 2015-05-01 11:37:41 -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
Hanam Do
c57facd3a7 Use 2 space indentation for seed stubs
Consistent with indentation for migrations

Closes #745
2015-03-22 11:57:14 -07:00
Noah Santorello
3a25c5ec58 Sample seed files now correctly return Promises tgriesser/knex#391 2014-10-13 04:12:29 -04:00
Tim Griesser
b718e2da64 Relative directory config for path.resolve in #515 2014-10-03 11:14:04 -04:00
Brian Delahunty
fda990b02d Change seed generation to have same directory behaviour as migration
Change to seed behaviour to use the same path resolution as migration - essentially, replicating change SHA:b7672df53623dc9112c13120fc46eca5a48e5dd4 by @demmer
2014-10-02 11:51:52 -07: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
26e4135f7f Fixing path issues in migration and seed functionality 2014-07-21 19:27:26 -04:00
Noah Santorello
fda570eb1e Fixing seed tests and jshint 2014-07-21 18:49:20 -04:00
Noah Santorello
ef159b85a8 Path.join error 2014-07-21 09:57:48 -04:00
Noah Santorello
65cb342e09 CLI outputs relative path of files, not just filename 2014-07-21 09:51:04 -04:00
Noah Santorello
f8d01e9901 Initial commit of seed functionality 2014-07-21 09:42:56 -04:00