starting database integration for PR storage