Skip to content

remove a bunch of database.NewDB()

Warren Gifford requested to merge cc/convert-dbutil-to-database into main

Created by: camdencheek

This PR is me looking for uses of database.NewDB() and removes them by propagating down a database.DB from a parent context. We can do this because, almost everywhere, there is a database.DB somewhere in the calling path because we've removed most globals.

The changes are very mechanical. There are many commits just so I could keep things incremental.

Merge request reports

Loading