This plugin provided WebSQL support on Android prior to version 3.0 and is obsoleted by org.apache.cordova.websql.
To transfer data from from the old database to the new one, you need to:
cordova.plugins.legacySQL.openDatabase()
window.openDatabase()
Since this is pretty annoying code to write, you might not want to use the new websql plugin for existing apps. Instead, continue to use the old one.