report: Add database support