Save report state to a sqlite db