11 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
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
Ben Drucker
b5808c537c Fix direct inclusion of Knex instance in migration config 2013-11-27 13:20:03 -05: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
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
Tim Griesser
667a20b66e switching out underscore for lodash 2013-11-25 02:00:12 -05:00
Tim Griesser
39ec293892 Initial version of the migration cli ready 2013-11-25 01:43:55 -05:00
Tim Griesser
f78fc3e199 continuing work on migrations cli 2013-11-25 00:55:26 -05:00
Nikhil Benesch
2f1d4e49c4 Create skeleton CLI for migrations 2013-10-28 10:06:40 -04:00