Abstract migration framework for node (in coffeescript) which store migration status in db