move database name to local.js