Update database.js

Fixed Value schema