Thursday, May 29, 2014

Migration tools for NodeJS

You can't find there any brilliant solution as django-south. Anyway, it's hard without them. So there is some please use it at your own risk.

Node-migrate

author: TJ Holowaychuk

https://github.com/visionmedia/node-migrate

It has some bugs and lack of some useful features. On other hand there a lot of pull request but seems that TJ doesn't has abandoned it.

$ npm install migrate

features

up, down, create

Node-db-migrate

https://github.com/kunklejr/node-db-migrate

.... Still don't have experience with it ...

$ npm install db-migrate

features

up, down, create,...

East

https://github.com/okv/east/

Author is Oleg Korobenko. Has adapters to support MongoDB and Sqlite.

$ npm install east -g

features

up, down, create, verbose, db-adapter, fallback on timeout, config file, list of migrations.

No comments :

Post a Comment