With Ruby, only the rake command is used in migration, but in NodeJS I'm not sure how to do this. Any idea?
You can copy your database using taps
This may help: https://github.com/visionmedia/node-migrate