console db model