Re:Knex and Bookshelf – ORM for JavaScript
by yoloswagger on Sunday December 08, 2013 @07:09PM
(#6872170)
Any thoughts on migrations with Bookshelf?
[ Parent
| on HN ]
Re:Knex and Bookshelf – ORM for JavaScript
by bergie on Sunday December 08, 2013 @07:33PM
(#6872255)
Bookshelf is running on top of Knex.js, so I suppose you can use its migration features:
https://github.com/tgriesser/knex/blob/master/bin/readme.md
There is also a Grunt plugin:
Re:Knex and Bookshelf – ORM for JavaScript
by fantastical on Sunday December 08, 2013 @07:42PM
(#6872280)
I've used node-db-migrate (https://github.com/kunklejr/node-db-migrate) on some toy projects in conjunction with Bookshelf, and it seemed to work fine. I haven't used it in production, though.