DEV Community

Discussion on: Objection + Knex = Painless PostgreSQL in your Node App

Collapse
 
mrscx profile image
MrScX

BTW in exports.up and exports.down you pass in Promise as an argument. That throws an error. Removing that fixes it. Also, knex migrate:make doesn't pass that argument in its auto-generated file.