dbconn: Unexport MigrateDB
Created by: efritz
This PR collapses MigrateDB
into dbconn.New
, requiring that when initializing a database connection you pass its DSN, app name, metrics identifier, and the set of schemas that should describe the database connection.
In the future we'll break out different functionality so that we can either apply migrations if out of date, or to fail or block instead. This will help with decoupling migrations from application startup.