database entry generic