migrationState.js err in getDatabase