database: update dbutil-based constructors
There are no commits yet
Push commits to the source branch or add previously merged commits to review them.
Created by: unknwon
Updates a few dbutil-based constructors to accept datbase.DB
instead, as they are not mockable in our tests.
Subscribed team please let me know if some dbutil.DB
s are on purpose and can break if not using it.
This is the result of a time-boxed effort.
Unit tests
Part of https://github.com/sourcegraph/sourcegraph/issues/26113
Push commits to the source branch or add previously merged commits to review them.