relocate db methods into their own trait, re #1265

Merge request reports

Loading