pub async fn apply_current_schema_to_shadow(
config: &Config,
root_dir: &Path,
shadow: &ShadowDatabase,
) -> Result<Catalog>Expand description
Connect to the given shadow database, build the desired state on it,
and return the managed catalog. Convenience wrapper around
build_desired_state for commands that don’t hold a shadow pool.