Instead of trying to store it in a database, I used GitHub artifacts to store and retrieve the reports, and it worked well for me!! DO let me know if there is a way to store it in a DB, you could also share resources for the same.